You are here

public function SharerichListBuilder::buildHeader in Sharerich 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/Controller/SharerichListBuilder.php, line 20
Contains \Drupal\sharerich\SharerichListBuilder.

Class

SharerichListBuilder
Provides a listing of Sharerich entities.

Namespace

Drupal\sharerich\Controller

Code

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