public function ParagraphSetListBuilder::buildHeader in Paragraphs frontend ui 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/
ParagraphSetListBuilder.php, line 19
Class
- ParagraphSetListBuilder
- Defines a class to build a listing of Paragraph set entities.
Namespace
Drupal\paragraphs_frontend_uiCode
public function buildHeader() {
$header['id'] = $this
->t('Paragraph set ID');
$header['name'] = $this
->t('Name');
return $header + parent::buildHeader();
}