You are here

class ViewingSubmissionEvent in RULES WEBFORM 3.x

Same name and namespace in other branches
  1. 8 src/Event/ViewingSubmissionEvent.php \Drupal\rules_webform\Event\ViewingSubmissionEvent

Event that is fired when webform submission is viewing.

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

Hierarchy

Expanded class hierarchy of ViewingSubmissionEvent

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

File

src/Event/ViewingSubmissionEvent.php, line 11

Namespace

Drupal\rules_webform\Event
View source
class ViewingSubmissionEvent extends RulesWebformEventBase {
  const EVENT_NAME = 'viewing_submission';

}

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.
ViewingSubmissionEvent::EVENT_NAME constant Overrides RulesWebformEventBase::EVENT_NAME