public function TagList::buildHeader in Doubleclick for Publishers (DFP) 8
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/
View/ TagList.php, line 24 - Contains \Drupal\dfp\View\TagList.
Class
- TagList
- Defines a class to build a listing of DFP tag entities.
Namespace
Drupal\dfp\ViewCode
public function buildHeader() {
$header['title'] = $this
->t('Ad Slot');
$header['size'] = [
'data' => $this
->t('Size(s)'),
'class' => [
RESPONSIVE_PRIORITY_MEDIUM,
],
];
$header['block'] = $this
->t('Block');
return $header + parent::buildHeader();
}