You are here

public function WidgetInterface::access in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/WidgetInterface.php \Drupal\entity_browser\WidgetInterface::access()

Defines if the widget is visible / accessible in a given context.

Return value

\Drupal\Core\Access\AccessResultInterface The access result.

1 method overrides WidgetInterface::access()
WidgetBase::access in src/WidgetBase.php
Defines if the widget is visible / accessible in a given context.

File

src/WidgetInterface.php, line 128

Class

WidgetInterface
Defines the interface for entity browser widgets.

Namespace

Drupal\entity_browser

Code

public function access();