function DisplayPluginInterface::buildRenderable
Same name in other branches
- 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::buildRenderable()
- 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::buildRenderable()
- 10 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::buildRenderable()
Builds a renderable array of the view.
Note: This does not yet contain the executed view, but just the loaded view executable.
Parameters
array $args: (optional) Arguments of the view.
bool $cache: (optional) Specify FALSE in order to opt out of render caching.
Return value
array The render array of a view.
1 method overrides DisplayPluginInterface::buildRenderable()
- DisplayPluginBase::buildRenderable in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php
File
-
core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginInterface.php, line 495
Class
- DisplayPluginInterface
- Provides an interface for Views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function buildRenderable(array $args = [], $cache = TRUE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.