public function EntityBrowserWidgetContext::__construct in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Plugin/views/argument_default/EntityBrowserWidgetContext.php \Drupal\entity_browser\Plugin\views\argument_default\EntityBrowserWidgetContext::__construct()
Constructs a PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Overrides PluginBase::__construct
File
- src/
Plugin/ views/ argument_default/ EntityBrowserWidgetContext.php, line 30
Class
- EntityBrowserWidgetContext
- The entity browser widget context argument default handler.
Namespace
Drupal\entity_browser\Plugin\views\argument_defaultCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, KeyValueStoreExpirableInterface $selection_storage) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->selectionStorage = $selection_storage;
}