public function GridStackVariantListBuilder::buildHeader in GridStack 8.2
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides GridStackListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- modules/
gridstack_ui/ src/ Controller/ GridStackVariantListBuilder.php, line 22
Class
- GridStackVariantListBuilder
- Provides a listing of GridStack optionsets.
Namespace
Drupal\gridstack_ui\ControllerCode
public function buildHeader() {
$header = [
'source' => $this
->t('Source'),
];
return $header + parent::buildHeader();
}