public function QueueStorageEntityTypeListBuilder::buildRow in Open Social 10.3.x
Same name and namespace in other branches
- 8.9 modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::buildRow()
- 8.8 modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::buildRow()
- 10.0.x modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::buildRow()
- 10.1.x modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::buildRow()
- 10.2.x modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::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
- modules/
custom/ social_queue_storage/ src/ QueueStorageEntityTypeListBuilder.php, line 25
Class
- QueueStorageEntityTypeListBuilder
- Provides a listing of Queue storage entity type entities.
Namespace
Drupal\social_queue_storageCode
public function buildRow(EntityInterface $entity) {
$row['label'] = $entity
->label();
$row['id'] = $entity
->id();
return $row + parent::buildRow($entity);
}