hasZoneLayout() public method

Checks if zone definition contains a layout having $layoutIdentifier as identifier.
public hasZoneLayout ( string $layoutIdentifier ) : boolean
$layoutIdentifier string
return boolean
コード例 #1
0
 /**
  * @dataProvider hasZoneLayoutProvider
  * @covers eZ\Publish\Core\FieldType\Page\PageService::hasZoneLayout
  *
  * @param string $layout
  * @param bool $expectedResult
  */
 public function testHasZoneLayout($layout, $expectedResult)
 {
     $this->assertSame($expectedResult, $this->pageService->hasZoneLayout($layout));
 }