public function SelectionDisplayBase::supportsJsCommands in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/SelectionDisplayBase.php \Drupal\entity_browser\SelectionDisplayBase::supportsJsCommands()
 
Returns true if selection display supports selection over javascript.
Return value
bool True if javascript add/remove events are supported.
Overrides SelectionDisplayInterface::supportsJsCommands
File
- src/
SelectionDisplayBase.php, line 149  
Class
- SelectionDisplayBase
 - Base implementation for selection display plugins.
 
Namespace
Drupal\entity_browserCode
public function supportsJsCommands() {
  return $this
    ->getPluginDefinition()['js_commands'];
}