3 namespace Drupal\entity_browser\Events;
6 * Contains all events thrown by entity browser.
11 * The SELECED event occurs when enities are selected in currently active
16 const SELECTED = 'entity_browser.selected';
19 * The DONE event occurs when selection process is done. While it can be emitted
20 * by any part of the system that will usually be done by selection display plugin.
24 const DONE = 'entity_browser.done';
27 * The REGISTER_JS_CALLBACKS collects JS callbacks that need to be notified when
28 * we bring selected entities back to the form. Callbacks are responsible to
29 * propagate selection further to entitiy fields, etc.
33 const REGISTER_JS_CALLBACKS = 'entity_browser.register_js_callbacks';
36 * The ALTER_BROWSER_DISPLAY_DATA allows for entity browser display plugin data
41 const ALTER_BROWSER_DISPLAY_DATA = 'entity_browser.alter_browser_display_data';