public function ImceProfileListBuilder::buildRow in IMCE 8.2
Same name and namespace in other branches
- 8 src/ImceProfileListBuilder.php \Drupal\imce\ImceProfileListBuilder::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/
ImceProfileListBuilder.php, line 27
Class
- ImceProfileListBuilder
- Defines a class to build a list of Imce Profile entities.
Namespace
Drupal\imceCode
public function buildRow(EntityInterface $imce_profile) {
$row['label'] = $imce_profile
->label();
$row['description'] = $imce_profile
->get('description');
return $row + parent::buildRow($imce_profile);
}