public function GridStackListBuilder::buildHeader in GridStack 8
Same name and namespace in other branches
- 8.2 modules/gridstack_ui/src/Controller/GridStackListBuilder.php \Drupal\gridstack_ui\Controller\GridStackListBuilder::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
- modules/
gridstack_ui/ src/ Controller/ GridStackListBuilder.php, line 65
Class
- GridStackListBuilder
- Provides a listing of GridStack optionsets.
Namespace
Drupal\gridstack_ui\ControllerCode
public function buildHeader() {
$header = [
'label' => $this
->t('Optionset'),
'icon' => $this
->t('Icon'),
'framework' => $this
->t('Grid framework'),
'grids' => $this
->t('Grids : Nested'),
'provider' => $this
->t('Provider'),
];
return $header + parent::buildHeader();
}