You are here

public property EntityBrowserSelectionDisplay::$js_commands in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Annotation/EntityBrowserSelectionDisplay.php \Drupal\entity_browser\Annotation\EntityBrowserSelectionDisplay::js_commands

Indicates that javascript commands can be executed for Selection display.

Currently supported javascript commands are adding and removing selection from selection display. Javascript commands use Ajax requests to load relevant changes and makes user experience way better, becase form is not flashed every time.

Type: bool

File

src/Annotation/EntityBrowserSelectionDisplay.php, line 63

Class

EntityBrowserSelectionDisplay
Defines an entity browser selection display annotation object.

Namespace

Drupal\entity_browser\Annotation

Code

public $js_commands = FALSE;