public function SliderProListBuilder::buildHeader in Slider Pro 8
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/
Controller/ SliderProListBuilder.php, line 17
Class
- SliderProListBuilder
- Class SliderProListBuilder @package Drupal\slider_pro\Controller
Namespace
Drupal\slider_pro\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Name');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}