You are here

class FieldFormatterSettingsSummaryAlterEvent in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/field_event_dispatcher/src/Event/Field/FieldFormatterSettingsSummaryAlterEvent.php \Drupal\field_event_dispatcher\Event\Field\FieldFormatterSettingsSummaryAlterEvent

Class FieldFormatterSettingsSummaryAlterEvent.

Hierarchy

Expanded class hierarchy of FieldFormatterSettingsSummaryAlterEvent

1 file declares its use of FieldFormatterSettingsSummaryAlterEvent
field_event_dispatcher.module in modules/field_event_dispatcher/field_event_dispatcher.module
Field event dispatcher submodule.

File

modules/field_event_dispatcher/src/Event/Field/FieldFormatterSettingsSummaryAlterEvent.php, line 10

Namespace

Drupal\field_event_dispatcher\Event\Field
View source
class FieldFormatterSettingsSummaryAlterEvent extends AbstractFieldSettingsSummaryFormEvent {

  /**
   * {@inheritdoc}
   */
  public function getDispatcherType() : string {
    return HookEventDispatcherInterface::FIELD_FORMATTER_SETTINGS_SUMMARY_ALTER;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractFieldSettingsSummaryFormEvent::$context private property An associative array containing related context for this formatter/widget.
AbstractFieldSettingsSummaryFormEvent::$summary private property An array of summary messages.
AbstractFieldSettingsSummaryFormEvent::getContext public function Get the associative array containing context for this formatter/widget.
AbstractFieldSettingsSummaryFormEvent::getSummary public function Get the existing array of summary messages.
AbstractFieldSettingsSummaryFormEvent::__construct public function AbstractFieldSettingsSummaryFormEvent constructor.
FieldFormatterSettingsSummaryAlterEvent::getDispatcherType public function Get the dispatcher type. Overrides EventInterface::getDispatcherType