public function SelectionDisplayBase::supportsPreselection in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/SelectionDisplayBase.php \Drupal\entity_browser\SelectionDisplayBase::supportsPreselection()
Check if the plugin supports preselection.
@returns bool Returns TRUE if preselection is supported.
Overrides SelectionDisplayInterface::supportsPreselection
File
- src/
SelectionDisplayBase.php, line 142
Class
- SelectionDisplayBase
- Base implementation for selection display plugins.
Namespace
Drupal\entity_browserCode
public function supportsPreselection() {
return $this
->getPluginDefinition()['acceptPreselection'];
}