function FilterFormatListBuilder::buildHeader
Same name in other branches
- 9 core/modules/filter/src/FilterFormatListBuilder.php \Drupal\filter\FilterFormatListBuilder::buildHeader()
- 8.9.x core/modules/filter/src/FilterFormatListBuilder.php \Drupal\filter\FilterFormatListBuilder::buildHeader()
- 10 core/modules/filter/src/FilterFormatListBuilder.php \Drupal\filter\FilterFormatListBuilder::buildHeader()
Overrides DraggableListBuilderTrait::buildHeader
File
-
core/
modules/ filter/ src/ FilterFormatListBuilder.php, line 81
Class
- FilterFormatListBuilder
- Defines a class to build a listing of filter format entities.
Namespace
Drupal\filterCode
public function buildHeader() {
$header['label'] = $this->t('Name');
$header['roles'] = $this->t('Roles');
$header['status'] = $this->t('Status');
return $header + parent::buildHeader();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.