public function MultigraphListBuilder::buildHeader in Monitoring 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
- modules/
multigraph/ src/ MultigraphListBuilder.php, line 23 - Contains \Drupal\monitoring_multigraph\MultigraphListBuilder.
Class
- MultigraphListBuilder
- Defines a class to build a listing of monitoring multigraphs.
Namespace
Drupal\monitoring_multigraphCode
public function buildHeader() {
$header['label'] = $this
->t('Label');
$header['description'] = $this
->t('Description');
$header['sensors'] = $this
->t('Sensors');
return $header + parent::buildHeader();
}