You are here

public function HeartbeatStreamListBuilder::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/HeartbeatStreamListBuilder.php, line 22

Class

HeartbeatStreamListBuilder
Defines a class to build a listing of Heartbeat stream entities.

Namespace

Drupal\heartbeat

Code

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