public function ModalListBuilder::buildHeader in Modal 5.0.x
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/
ModalListBuilder.php, line 16
Class
- ModalListBuilder
- Provides a listing of Modal entities.
Namespace
Drupal\modal_pageCode
public function buildHeader() {
$header['label'] = $this
->t('Modal');
$header['id'] = $this
->t('Machine name');
$header['published'] = $this
->t('Status');
return $header + parent::buildHeader();
}