You are here

public function SlideListBuilder::buildHeader in Drupal Slider 8.2

Same name and namespace in other branches
  1. 8 src/Controller/SlideListBuilder.php \Drupal\drupal_slider\Controller\SlideListBuilder::buildHeader()

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\EntityListController::render()

File

src/Controller/SlideListBuilder.php, line 30

Class

SlideListBuilder
Provides a listing of drupal_slider entities.

Namespace

Drupal\drupal_slider\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Slide name');
  return $header + parent::buildHeader();
}