public function ParallaxElementListBuilder::buildHeader in Parallax Background 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/
ParallaxElementListBuilder.php, line 16
Class
- ParallaxElementListBuilder
- Provides a listing of Parallax element entities.
Namespace
Drupal\parallax_bgCode
public function buildHeader() {
$header['label'] = $this
->t('Selector');
$header['position'] = $this
->t('Position');
$header['speed'] = $this
->t('Speed');
return $header + parent::buildHeader();
}