You are here

public function SelectionDisplayBase::supportsPreselection in Entity Browser 8

Same name and namespace in other branches
  1. 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_browser

Code

public function supportsPreselection() {
  return $this
    ->getPluginDefinition()['acceptPreselection'];
}