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