You are here

public function DisplayPluginInterface::initDisplay in Drupal 8

Same name and namespace in other branches
  1. 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()
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\display

Code

public function initDisplay(ViewExecutable $view, array &$display, array &$options = NULL);