function View::getInfo
Same name in other branches
- 9 core/modules/views/src/Element/View.php \Drupal\views\Element\View::getInfo()
- 8.9.x core/modules/views/src/Element/View.php \Drupal\views\Element\View::getInfo()
- 10 core/modules/views/src/Element/View.php \Drupal\views\Element\View::getInfo()
Overrides ElementInterface::getInfo
File
-
core/
modules/ views/ src/ Element/ View.php, line 19
Class
- View
- Provides a render element to display a view.
Namespace
Drupal\views\ElementCode
public function getInfo() {
$class = static::class;
return [
'#pre_render' => [
[
$class,
'preRenderViewElement',
],
],
'#name' => NULL,
'#display_id' => 'default',
'#arguments' => [],
'#embed' => TRUE,
'#cache' => [],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.