public function ViewsPluginInterface::init in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/ViewsPluginInterface.php \Drupal\views\Plugin\views\ViewsPluginInterface::init()
- 10 core/modules/views/src/Plugin/views/ViewsPluginInterface.php \Drupal\views\Plugin\views\ViewsPluginInterface::init()
Initialize the plugin.
Parameters
\Drupal\views\ViewExecutable $view: The view object.
\Drupal\views\Plugin\views\display\DisplayPluginBase $display: The display handler.
array $options: The options configured for this plugin.
1 method overrides ViewsPluginInterface::init()
- PluginBase::init in core/
modules/ views/ src/ Plugin/ views/ PluginBase.php - Initialize the plugin.
File
- core/
modules/ views/ src/ Plugin/ views/ ViewsPluginInterface.php, line 86
Class
- ViewsPluginInterface
- Provides an interface for all views plugins.
Namespace
Drupal\views\Plugin\viewsCode
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL);