public function MentionsConfigListBuilder::buildRow in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/mentions/src/MentionsConfigListBuilder.php \Drupal\mentions\MentionsConfigListBuilder::buildRow()
- 8.2 modules/custom/mentions/src/MentionsConfigListBuilder.php \Drupal\mentions\MentionsConfigListBuilder::buildRow()
- 8.3 modules/custom/mentions/src/MentionsConfigListBuilder.php \Drupal\mentions\MentionsConfigListBuilder::buildRow()
- 8.4 modules/custom/mentions/src/MentionsConfigListBuilder.php \Drupal\mentions\MentionsConfigListBuilder::buildRow()
- 8.5 modules/custom/mentions/src/MentionsConfigListBuilder.php \Drupal\mentions\MentionsConfigListBuilder::buildRow()
- 8.6 modules/custom/mentions/src/MentionsConfigListBuilder.php \Drupal\mentions\MentionsConfigListBuilder::buildRow()
- 8.7 modules/custom/mentions/src/MentionsConfigListBuilder.php \Drupal\mentions\MentionsConfigListBuilder::buildRow()
- 8.8 modules/custom/mentions/src/MentionsConfigListBuilder.php \Drupal\mentions\MentionsConfigListBuilder::buildRow()
- 10.3.x modules/custom/mentions/src/MentionsConfigListBuilder.php \Drupal\mentions\MentionsConfigListBuilder::buildRow()
- 10.0.x modules/custom/mentions/src/MentionsConfigListBuilder.php \Drupal\mentions\MentionsConfigListBuilder::buildRow()
- 10.1.x modules/custom/mentions/src/MentionsConfigListBuilder.php \Drupal\mentions\MentionsConfigListBuilder::buildRow()
- 10.2.x modules/custom/mentions/src/MentionsConfigListBuilder.php \Drupal\mentions\MentionsConfigListBuilder::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 DraggableListBuilder::buildRow
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- modules/
custom/ mentions/ src/ MentionsConfigListBuilder.php, line 31
Class
- MentionsConfigListBuilder
- Provides a listing of Mentions Type entities.
Namespace
Drupal\mentionsCode
public function buildRow(EntityInterface $entity) {
$row['id'] = $entity
->id();
return $row + parent::buildRow($entity);
}