function DisplayPluginInterface::initDisplay
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::initDisplay()
- 10 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::initDisplay()
- 11.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::initDisplay()
Initializes the display plugin.
Parameters
\Drupal\views\ViewExecutable $view: The views executable.
array $display: The display that will be populated and attached to the view.
array $options: (optional) The options for the display plugin. Defaults to NULL.
1 method overrides DisplayPluginInterface::initDisplay()
- DisplayPluginBase::initDisplay in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Initializes the display plugin.
File
-
core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginInterface.php, line 45
Class
- DisplayPluginInterface
- Provides an interface for Views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function initDisplay(ViewExecutable $view, array &$display, array &$options = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.