public function ParagraphsSetListBuilder::buildHeader in Paragraphs Sets 8
Same name and namespace in other branches
- 8.2 src/Controller/ParagraphsSetListBuilder.php \Drupal\paragraphs_sets\Controller\ParagraphsSetListBuilder::buildHeader()
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/ ParagraphsSetListBuilder.php, line 16
Class
- ParagraphsSetListBuilder
- Provides a listing of ParagraphsSet.
Namespace
Drupal\paragraphs_sets\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Label');
$header['id'] = $this
->t('Machine name');
$header['description'] = $this
->t('Description');
return $header + parent::buildHeader();
}