getBlockDefinitionByIdentifier() public method

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