public function VideoBackground::getInfo in Bootstrap Styles 1.0.x
Returns the element properties for this element.
Return value
array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.
Overrides ElementInterface::getInfo
File
- src/
Element/ VideoBackground.php, line 17
Class
- VideoBackground
- Provides a video background render element.
Namespace
Drupal\bootstrap_styles\ElementCode
public function getInfo() {
return [
'#theme' => 'bs_video_background',
'#attributes' => [],
'#video_background_url' => '',
'#children' => [],
];
}