You are here

public function WidgetInterface::requiresJsCommands in Entity Browser 8

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

Returns if widget requires JS commands support by selection display.

Return value

bool True is auto selection is enabled and add/remove of entities will be done over javascript events on selection display.

1 method overrides WidgetInterface::requiresJsCommands()
WidgetBase::requiresJsCommands in src/WidgetBase.php
Returns if widget requires JS commands support by selection display.

File

src/WidgetInterface.php, line 120

Class

WidgetInterface
Defines the interface for entity browser widgets.

Namespace

Drupal\entity_browser

Code

public function requiresJsCommands();