public function EntityBrowserListBuilder::buildHeader in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Controllers/EntityBrowserListBuilder.php \Drupal\entity_browser\Controllers\EntityBrowserListBuilder::buildHeader()
Building the header and content lines for the entity browser list.
Calling the parent::buildHeader() adds a column for the possible actions and inserts the 'edit' and 'delete' links as defined for the entity type.
Overrides EntityListBuilder::buildHeader
File
- src/
Controllers/ EntityBrowserListBuilder.php, line 23
Class
- EntityBrowserListBuilder
- Provides a list controller for entity browser.
Namespace
Drupal\entity_browser\ControllersCode
public function buildHeader() {
$header['id'] = $this
->t('ID');
$header['name'] = $this
->t('Name');
return $header + parent::buildHeader();
}