public function SlideListBuilder::buildHeader in Drupal Slider 8
Same name and namespace in other branches
- 8.2 src/Controller/SlideListBuilder.php \Drupal\drupal_slider\Controller\SlideListBuilder::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\EntityListController::render()
File
- src/
Controller/ SlideListBuilder.php, line 30
Class
- SlideListBuilder
- Provides a listing of drupal_slider entities.
Namespace
Drupal\drupal_slider\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Slide name');
return $header + parent::buildHeader();
}