You are here

public function StatusListBuilder::buildHeader in Heartbeat 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/statusmessage/src/StatusListBuilder.php, line 20

Class

StatusListBuilder
Defines a class to build a listing of Status entities.

Namespace

Drupal\statusmessage

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('Status ID');
  $header['name'] = $this
    ->t('Name');
  return $header + parent::buildHeader();
}