function FilterFormatListBuilder::buildHeader
Builds the header row for the entity listing.
Return value
array A render array structure for the header.
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.