You are here

public function ParagraphsCategoryListBuilder::buildHeader in Paragraphs Editor Enhancements 8

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

src/Controller/ParagraphsCategoryListBuilder.php, line 76

Class

ParagraphsCategoryListBuilder
Provides a listing of Paragraph category entities.

Namespace

Drupal\paragraphs_ee\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Label');
  $header['description'] = $this
    ->t('Description');
  return $header + parent::buildHeader();
}