You are here

public function SlickListBuilder::list_table_header in Slick Carousel 7.3

File

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

Class

SlickListBuilder
Provides a listing of Slick optionsets.

Namespace

Drupal\slick_ui\Controller

Code

public function list_table_header() {
  $headers = parent::list_table_header();
  $breakpoints_header[] = [
    'data' => t('Breakpoint'),
    'class' => [
      'ctools-export-ui-breakpoints',
    ],
  ];
  array_splice($headers, 2, 0, $breakpoints_header);
  $skin_header[] = [
    'data' => t('Skin'),
    'class' => [
      'ctools-export-ui-skin',
    ],
  ];
  array_splice($headers, 3, 0, $skin_header);
  $collection_header[] = [
    'data' => t('Collection'),
    'class' => [
      'ctools-export-ui-collection',
    ],
  ];
  array_splice($headers, 4, 0, $collection_header);
  return $headers;
}