public function WebformCompositeListBuilder::buildHeader in Webform Composite Tools 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\EntityListController::render()
File
- src/
Controller/ WebformCompositeListBuilder.php, line 28
Class
- WebformCompositeListBuilder
- Provides a listing of Reusable Webform Composites entities.
Namespace
Drupal\webform_composite\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Composite');
$header['machine_name'] = $this
->t('Machine Name');
$header['description'] = $this
->t('Description');
return $header + parent::buildHeader();
}