public function AssetInjectorListBuilder::buildHeader in Asset Injector 8.2
Same name and namespace in other branches
- 8 src/AssetInjectorListBuilder.php \Drupal\asset_injector\AssetInjectorListBuilder::buildHeader()
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/
AssetInjectorListBuilder.php, line 17
Class
- AssetInjectorListBuilder
- Provides a listing of Asset Injector entities.
Namespace
Drupal\asset_injectorCode
public function buildHeader() {
$header['label'] = $this
->t('Injector');
$header['conditions'] = $this
->t('Conditions');
return $header + parent::buildHeader();
}