public function AssetInjectorListBuilder::buildHeader in Asset Injector 8
Same name and namespace in other branches
- 8.2 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 16
Class
- AssetInjectorListBuilder
- Provides a listing of Asset Injector entities.
Namespace
Drupal\asset_injectorCode
public function buildHeader() {
$header['label'] = $this
->t('Injector');
$header['id'] = $this
->t('Machine name');
$header['themes'] = $this
->t('Themes');
return $header + parent::buildHeader();
}