final class DefaultParagraphsEvents in Default Paragraphs 8
Contains events triggered by default paragraphs widget.
Hierarchy
- class \Drupal\default_paragraphs\Events\DefaultParagraphsEvents
Expanded class hierarchy of DefaultParagraphsEvents
1 file declares its use of DefaultParagraphsEvents
- DefaultParagraphsWidget.php in src/
Plugin/ Field/ FieldWidget/ DefaultParagraphsWidget.php
File
- src/
Events/ DefaultParagraphsEvents.php, line 8
Namespace
Drupal\default_paragraphs\EventsView source
final class DefaultParagraphsEvents {
/**
* Occurs when default paragraph entity is added to the widget.
*
* It allows other modules to modify the paragraph entity that is being
* added as default.
*
* @var string
*/
const ADDED = 'default_paragraphs.added';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DefaultParagraphsEvents:: |
constant | Occurs when default paragraph entity is added to the widget. |