public function CustomContextualLinkListBuilder::buildHeader in Custom Contextual Links 8.2
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides EntityListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- src/
CustomContextualLinkListBuilder.php, line 17
Class
- CustomContextualLinkListBuilder
- Provides a listing of Custom Contextual Link entities.
Namespace
Drupal\cclCode
public function buildHeader() {
$header['label'] = $this
->t('Label');
$header['title'] = $this
->t('Link Title');
$header['url'] = $this
->t('URL');
$header['type'] = $this
->t('Type');
$header['options'] = $this
->t('Options');
return $header + parent::buildHeader();
}