You are here

constant EntityBrowserElement::SELECTION_MODE_PREPEND in Entity Browser 8.2

Same name and namespace in other branches
  1. 8 src/Element/EntityBrowserElement.php \Drupal\entity_browser\Element\EntityBrowserElement::SELECTION_MODE_PREPEND

Selection from entity browser will be prepended to existing list.

When this selection mode is used, then entity browser will not be populated with existing selection. Preselected list will be empty.

Note: This option is also used by "js/entity_browser.common.js".

File

src/Element/EntityBrowserElement.php, line 66

Class

EntityBrowserElement
Provides an Entity Browser form element.

Namespace

Drupal\entity_browser\Element

Code

const SELECTION_MODE_PREPEND = 'selection_prepend';