You are here

class WebformSubmitEvent in RULES WEBFORM 8

Same name and namespace in other branches
  1. 3.x src/Event/WebformSubmitEvent.php \Drupal\rules_webform\Event\WebformSubmitEvent

Event that is fired when webform is submitted.

The event object will be created and the event will be dispatched in hook_webform_submission_insert().

Hierarchy

Expanded class hierarchy of WebformSubmitEvent

1 file declares its use of WebformSubmitEvent
rules_webform.module in ./rules_webform.module
Contains rules_webform.module.

File

src/Event/WebformSubmitEvent.php, line 11

Namespace

Drupal\rules_webform\Event
View source
class WebformSubmitEvent extends RulesWebformEventBase {
  const EVENT_NAME = 'webform_submit';

}

Members

Namesort descending Modifiers Type Description Overrides
RulesWebformEventBase::$webform_fields public property The webform fields with values (submissions).
RulesWebformEventBase::$webform_fields_unchanged public property Unchanged webform fields with values (for the 'updating_submission' event).
RulesWebformEventBase::$webform_info public property Submitted webform info.
RulesWebformEventBase::extractcompositeElements private function Extract the information about a webform fields.
RulesWebformEventBase::extractcompositeSubmissionData private function Extract fields values of the submitted webform.
RulesWebformEventBase::initializeWebformInfo private function Add data about webform to the 'webform_info' context variable.
RulesWebformEventBase::__construct public function Сonstructs the object.
WebformSubmitEvent::EVENT_NAME constant Overrides RulesWebformEventBase::EVENT_NAME