You are here

public function SlideGroupListBuilder::buildHeader in Drupal Slider 8

Same name and namespace in other branches
  1. 8.2 src/Controller/SlideGroupListBuilder.php \Drupal\drupal_slider\Controller\SlideGroupListBuilder::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/SlideGroupListBuilder.php, line 30

Class

SlideGroupListBuilder
Provides a listing of drupal_slider entities.

Namespace

Drupal\drupal_slider\Controller

Code

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