getBlockDefinitionByIdentifier() 공개 메소드

Returns a block definition for a given block identifier.
public getBlockDefinitionByIdentifier ( string $blockIdentifier ) : array
$blockIdentifier string
리턴 array
 /**
  * @expectedException OutOfBoundsException
  *
  * @covers eZ\Publish\Core\FieldType\Page\PageService::getBlockDefinitionByIdentifier
  */
 public function testGetBlockDefinitionByIdentifierInvalidBlock()
 {
     $this->pageService->getBlockDefinitionByIdentifier('invalid_block_identifier');
 }