You are here

public function DataStreamTypeListBuilder::buildHeader in farmOS 2.x

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/core/data_stream/src/DataStreamTypeListBuilder.php, line 17

Class

DataStreamTypeListBuilder
Provides a listing of data stream type entities.

Namespace

Drupal\data_stream

Code

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