You are here

public function SliderListBuilder::buildHeader in Image sliders 8

Building the header and content lines for the slider list.

Calling the parent::buildHeader() adds a column for the possible actions and inserts the 'edit' and 'delete' links as defined for the entity type.

Overrides EntityListBuilder::buildHeader

File

src/Entity/Controller/SliderListBuilder.php, line 76

Class

SliderListBuilder
Provides a list controller for image_slider entity.

Namespace

Drupal\image_slider\Entity\Controller

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('SliderID');
  $header['name'] = $this
    ->t('Name');
  $header['role'] = $this
    ->t('Role');
  return $header + parent::buildHeader();
}