eZ\Publish\Core\FieldType\Page\PageService::getBlockDefinition PHP 메소드

getBlockDefinition() 공개 메소드

Returns block definition as an array.
public getBlockDefinition ( ) : array
리턴 array
    public function getBlockDefinition()
    {
        return $this->blockDefinition;
    }

Usage Example

 /**
  * @covers eZ\Publish\Core\FieldType\Page\PageService::getBlockDefinition
  */
 public function testGetBlockDefinition()
 {
     $this->assertSame($this->blockDefinition, $this->pageService->getBlockDefinition());
 }