You are here

public function CustomBreadcrumbsListBuilder::buildHeader in Custom Breadcrumbs 1.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/CustomBreadcrumbsListBuilder.php, line 16

Class

CustomBreadcrumbsListBuilder
Provides a listing of custom breadcrumbs.

Namespace

Drupal\custom_breadcrumbs

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Label');
  $header['entityType'] = $this
    ->t('Entity type');
  $header['entityBundle'] = $this
    ->t('Entity bundle');
  $header['language'] = $this
    ->t('Language');
  $header['status'] = $this
    ->t('Status');
  return $header + parent::buildHeader();
}