public function FieldCollectionListBuilder::buildHeader in Field collection 8
Same name and namespace in other branches
- 8.3 src/FieldCollectionListBuilder.php \Drupal\field_collection\FieldCollectionListBuilder::buildHeader()
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides EntityListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- src/
FieldCollectionListBuilder.php, line 29
Class
- FieldCollectionListBuilder
- Provides a listing of field collections.
Namespace
Drupal\field_collectionCode
public function buildHeader() {
$header = [
'title' => $this
->t('Machine name'),
];
return $header + parent::buildHeader();
}