You are here

final class DefaultParagraphsEvents in Default Paragraphs 8

Contains events triggered by default paragraphs widget.

Hierarchy

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\Events
View 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

Namesort descending Modifiers Type Description Overrides
DefaultParagraphsEvents::ADDED constant Occurs when default paragraph entity is added to the widget.