You are here

public function OgMenuListBuilder::buildHeader in Organic Groups Menu (OG Menu) 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/OgMenuListBuilder.php, line 15

Class

OgMenuListBuilder
Provides a listing of OG Menu entities.

Namespace

Drupal\og_menu

Code

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