public function SimpleAccessProfileListBuilder::buildRow in Simple Access 8.3
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 DraggableListBuilder::buildRow
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- src/
Controller/ SimpleAccessProfileListBuilder.php, line 39
Class
- SimpleAccessProfileListBuilder
- Provides Drupal\simple_access\Controller\SimpleAccessProfileListBuilder.
Namespace
Drupal\simple_access\ControllerCode
public function buildRow(EntityInterface $entity) {
$row = [];
$row['label'] = $entity
->label();
return $row + parent::buildRow($entity);
}