public function BUEditorButtonListBuilder::buildRow in BUEditor 8.2
Same name and namespace in other branches
- 8 src/BUEditorButtonListBuilder.php \Drupal\bueditor\BUEditorButtonListBuilder::buildRow()
Builds a row for an entity in the entity listing.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list.
Return value
array A render array structure of fields for this entity.
Overrides EntityListBuilder::buildRow
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- src/
BUEditorButtonListBuilder.php, line 27
Class
- BUEditorButtonListBuilder
- Defines a class to build a list of BUEditor Button entities.
Namespace
Drupal\bueditorCode
public function buildRow(EntityInterface $bueditor_button) {
$row['id'] = $bueditor_button
->id();
$row['label'] = $bueditor_button
->label();
return $row + parent::buildRow($bueditor_button);
}