public function DateRecurOccurrenceListBuilder::buildRow in Recurring Dates Field 3.0.x
Same name and namespace in other branches
- 8.2 src/Entity/Handlers/DateRecurOccurrenceListBuilder.php \Drupal\date_recur\Entity\Handlers\DateRecurOccurrenceListBuilder::buildRow()
- 3.x src/Entity/Handlers/DateRecurOccurrenceListBuilder.php \Drupal\date_recur\Entity\Handlers\DateRecurOccurrenceListBuilder::buildRow()
- 3.1.x src/Entity/Handlers/DateRecurOccurrenceListBuilder.php \Drupal\date_recur\Entity\Handlers\DateRecurOccurrenceListBuilder::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/
Entity/ Handlers/ DateRecurOccurrenceListBuilder.php, line 26
Class
- DateRecurOccurrenceListBuilder
- Defines a class to build a listing of interpreter entities.
Namespace
Drupal\date_recur\Entity\HandlersCode
public function buildRow(EntityInterface $entity) : array {
$row['label'] = $entity
->label();
return $row + parent::buildRow($entity);
}