public function DisplayPluginInterface::initDisplay in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::initDisplay()
- 9 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()
- RestExport::initDisplay in core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.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);