You are here

public function RelationTypeListBuilder::buildHeader in Relation 8

Same name and namespace in other branches
  1. 8.2 src/RelationTypeListBuilder.php \Drupal\relation\RelationTypeListBuilder::buildHeader()

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/RelationTypeListBuilder.php, line 21
Contains \Drupal\relation\RelationTypeListBuilder.

Class

RelationTypeListBuilder
Provides a listing of relation types.

Namespace

Drupal\relation

Code

public function buildHeader() {
  $header['title'] = t('Name');
  return $header + parent::buildHeader();
}