function Embed::buildRenderable
Same name in other branches
- 9 core/modules/views/src/Plugin/views/display/Embed.php \Drupal\views\Plugin\views\display\Embed::buildRenderable()
- 8.9.x core/modules/views/src/Plugin/views/display/Embed.php \Drupal\views\Plugin\views\display\Embed::buildRenderable()
- 10 core/modules/views/src/Plugin/views/display/Embed.php \Drupal\views\Plugin\views\display\Embed::buildRenderable()
Overrides DisplayPluginBase::buildRenderable
File
-
core/
modules/ views/ src/ Plugin/ views/ display/ Embed.php, line 33
Class
- Embed
- The plugin that handles an embed display.
Namespace
Drupal\views\Plugin\views\displayCode
public function buildRenderable(array $args = [], $cache = TRUE) {
$build = parent::buildRenderable($args, $cache);
$build['#embed'] = TRUE;
return $build;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.