final class Events in DropzoneJS 8.2
Same name and namespace in other branches
- 8 src/Events/Events.php \Drupal\dropzonejs\Events\Events
Contains all events thrown by dropzonejs.
Hierarchy
- class \Drupal\dropzonejs\Events\Events
Expanded class hierarchy of Events
2 files declare their use of Events
- InlineEntityFormMediaWidget.php in modules/
eb_widget/ src/ Plugin/ EntityBrowser/ Widget/ InlineEntityFormMediaWidget.php - MediaEntityDropzoneJsEbWidget.php in modules/
eb_widget/ src/ Plugin/ EntityBrowser/ Widget/ MediaEntityDropzoneJsEbWidget.php
File
- src/
Events/ Events.php, line 8
Namespace
Drupal\dropzonejs\EventsView source
final class Events {
/**
* The MEDIA_ENTITY_CREATE event.
*
* The MEDIA_ENTITY_CREATE event occurs when creating a new Media Entity,
* before it is saved to the database.
*
* @var string
*/
const MEDIA_ENTITY_CREATE = 'dropzonejs.media_entity_create';
/**
* The MEDIA_ENTITY_PRECREATE event.
*
* This event occurs when creating a new Media Entity,
* before it is displayed in the Inline Entity Form Widget (currently only
* used there)
*
* @var string
*/
const MEDIA_ENTITY_PRECREATE = 'dropzonejs.media_entity_precreate';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Events:: |
constant | The MEDIA_ENTITY_CREATE event. | ||
Events:: |
constant | The MEDIA_ENTITY_PRECREATE event. |