eZ Community » Forums » eZ Platform » Ezstudio block

Ezstudio block

Ezstudio block

Wednesday 20 September 2017 3:29:44 pm


in ezstudio I would like to create a new block with 2 fields:

  • a  string 
  • a locationlist field (as in the block collection)

here is my code : 


public function createBlockDefinition()    {       

return new BlockDefinition(           







new BlockAttributeDefinition(                   


'Location list',                   



'Choose location items',                   




['match' => $this->getViewMatchConfiguration()]               


new BlockAttributeDefinition(                   










I see my block but the field location list does not appear in the back office .


Do you have an idea ?

Modified on Wednesday 20 September 2017 3:47:27 pm by patrice brun

No reply yet!


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from