You are here

public function DateRecurOccurrenceListBuilder::buildRow in Recurring Dates Field 3.1.x

Same name and namespace in other branches
  1. 8.2 src/Entity/Handlers/DateRecurOccurrenceListBuilder.php \Drupal\date_recur\Entity\Handlers\DateRecurOccurrenceListBuilder::buildRow()
  2. 3.x src/Entity/Handlers/DateRecurOccurrenceListBuilder.php \Drupal\date_recur\Entity\Handlers\DateRecurOccurrenceListBuilder::buildRow()
  3. 3.0.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\Handlers

Code

public function buildRow(EntityInterface $entity) : array {
  $row['label'] = $entity
    ->label();
  return $row + parent::buildRow($entity);
}