You are here

public function HeartbeatTypeListBuilder::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

src/HeartbeatTypeListBuilder.php, line 16

Class

HeartbeatTypeListBuilder
Provides a listing of Heartbeat type entities.

Namespace

Drupal\heartbeat

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Heartbeat type');
  $header['id'] = $this
    ->t('Machine name');
  return $header + parent::buildHeader();
}