You are here

public function SlickListBuilder::buildHeader in Slick Carousel 8

Same name and namespace in other branches
  1. 8.2 slick_ui/src/Controller/SlickListBuilder.php \Drupal\slick_ui\Controller\SlickListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

slick_ui/src/Controller/SlickListBuilder.php, line 63

Class

SlickListBuilder
Provides a listing of Slick optionsets.

Namespace

Drupal\slick_ui\Controller

Code

public function buildHeader() {
  $header = [
    'label' => $this
      ->t('Optionset'),
    'breakpoints' => $this
      ->t('Breakpoints'),
    'group' => $this
      ->t('Group'),
    'lazyload' => $this
      ->t('Lazyload'),
    'skin' => $this
      ->t('Skin'),
  ];
  return $header + parent::buildHeader();
}