public function EntityBrowserWidgetContext::access 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::access()
Determine if the administrator has the privileges to use this plugin
Overrides ArgumentDefaultPluginBase::access
File
- src/
Plugin/ views/ argument_default/ EntityBrowserWidgetContext.php, line 90
Class
- EntityBrowserWidgetContext
- The entity browser widget context argument default handler.
Namespace
Drupal\entity_browser\Plugin\views\argument_defaultCode
public function access() {
return $this->view
->getDisplay()->pluginId === 'entity_browser';
}