public function RuleListBuilder::buildHeader in JS injector 8
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides DraggableListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- lib/
Drupal/ js_injector/ RuleListBuilder.php, line 36 - Contains \Drupal\js_injector\RuleListBuilder.
Class
- RuleListBuilder
- Defines a class to build a listing of js_injector_rule entities.
Namespace
Drupal\js_injectorCode
public function buildHeader() {
$header['label'] = t('Name');
$header['roles'] = t('Description');
return $header + parent::buildHeader();
}