Abstract
Methods |
public addElement( $element) Add an element to the block.
|
public clearElements() Remove all elements from the block.
|
public getElements() Get the elements included in the block.
|
public getElementsAsArrays() Get the elements included in the block in an array representation.
|
public setElements(array $elements) Set the elements included in the block.
|
public toArray() Convert the block to its array representation.
|
Properties |
protected static $availableAttributes = ['elements' => 'elements', 'block_id' => 'block_id'] Internal attribute to property map.
|
protected $elements = [] Elements to be displayed within the block.
|
Methods |
Properties |
protected static $availableAttributes = ['elements' => 'elements', 'block_id' => 'block_id'] Internal attribute to property map.
|
Methods |