You are here

public function BrowserListBuilder::buildHeader in Paragraphs Browser 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/BrowserListBuilder.php, line 16

Class

BrowserListBuilder
Provides a listing of BrowserType.

Namespace

Drupal\paragraphs_browser\Controller

Code

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