You are here

public function AssetTypeListBuilder::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/asset/src/AssetTypeListBuilder.php, line 17

Class

AssetTypeListBuilder
Provides a listing of asset type entities.

Namespace

Drupal\asset

Code

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