constant EntityBrowserElement::SELECTION_MODE_EDIT in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Element/EntityBrowserElement.php \Drupal\entity_browser\Element\EntityBrowserElement::SELECTION_MODE_EDIT
Selection from entity browser will replace existing.
When this selection mode is used, then entity browser will be populated with existing selection and returned selected list will replace existing selection. This option requires entity browser selection display with preselection support.
Note: This option is also used by "js/entity_browser.common.js".
File
- src/
Element/ EntityBrowserElement.php, line 78
Class
- EntityBrowserElement
- Provides an Entity Browser form element.
Namespace
Drupal\entity_browser\ElementCode
const SELECTION_MODE_EDIT = 'selection_edit';