You are here

public function RelationListBuilder::buildHeader in Relation 8

Same name and namespace in other branches
  1. 8.2 src/RelationListBuilder.php \Drupal\relation\RelationListBuilder::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/RelationListBuilder.php, line 30
Contains \Drupal\relation\RelationListBuilder.

Class

RelationListBuilder
Provides a listing of relation types.

Namespace

Drupal\relation

Code

public function buildHeader() {
  $header['label'] = t('Title');
  $header['relation_type'] = t('Type');
  $header['endpoints'] = t('Endpoints');
  return $header + parent::buildHeader();
}