public function SensorListBuilder::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()
1 call to SensorListBuilder::buildHeader()
- SensorListBuilder::buildForm in src/
SensorListBuilder.php - Form constructor.
File
- src/
SensorListBuilder.php, line 32 - Contains \Drupal\monitoring\SensorListBuilder.
Class
- SensorListBuilder
- Defines a class to build a listing of sensor config entities.
Namespace
Drupal\monitoringCode
public function buildHeader() {
// Overrides the original Header completely.
$header['category'] = $this
->t('Category');
$header['label'] = $this
->t('Label');
$header['description'] = $this
->t('Description');
$header['operations'] = $this
->t('Operations');
return $header;
}