public function MediaBundleListBuilder::buildHeader in Media entity 8
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/
MediaBundleListBuilder.php, line 19
Class
- MediaBundleListBuilder
- Provides a listing of media bundles.
Namespace
Drupal\media_entityCode
public function buildHeader() {
$header['title'] = $this
->t('Name');
$header['description'] = [
'data' => $this
->t('Description'),
'class' => [
RESPONSIVE_PRIORITY_MEDIUM,
],
];
return $header + parent::buildHeader();
}