public hasZoneLayout ( string $layoutIdentifier ) : boolean | ||
$layoutIdentifier | string | |
리턴 | boolean |
public function hasZoneLayout($layoutIdentifier)
{
return isset($this->zoneDefinition[$layoutIdentifier]);
}
/** * @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)); }