public function ParagraphsTypeListBuilder::buildHeader

File

paragraphs/src/Controller/ParagraphsTypeListBuilder.php, line 16

Class

ParagraphsTypeListBuilder
Provides a listing of ParagraphsType.

Namespace

Drupal\paragraphs\Controller

Code

public function buildHeader() {
  $header['icon_file'] = [
    'data' => $this
      ->t('Icon'),
  ];
  $header['label'] = $this
    ->t('Label');
  $header['id'] = $this
    ->t('Machine name');
  $header['description'] = $this
    ->t('Description');
  return $header + parent::buildHeader();
}