public function MediaGalleryListBuilder::buildHeader in Media Gallery 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/
MediaGalleryListBuilder.php, line 80
Class
- MediaGalleryListBuilder
- Provides a list controller for the media gallery entity type.
Namespace
Drupal\media_galleryCode
public function buildHeader() {
$header['id'] = $this
->t('ID');
$header['title'] = $this
->t('Title');
$header['status'] = $this
->t('Status');
$header['uid'] = $this
->t('Author');
$header['created'] = $this
->t('Created');
$header['changed'] = $this
->t('Updated');
return $header + parent::buildHeader();
}