You are here

public function WebformHandlerBase::getWebformSubmission in Webform 8.5

Get the webform submission that this handler is handling.

@todo Webform 8.x-6.x: Replace with WebformEntityInjectionInterface.

Return value

\Drupal\webform\WebformSubmissionInterface A webform submission.

Overrides WebformHandlerInterface::getWebformSubmission

7 calls to WebformHandlerBase::getWebformSubmission()
ExampleWebformHandler::confirmForm in modules/webform_example_handler/src/Plugin/WebformHandler/ExampleWebformHandler.php
Confirm webform submission form.
OptionsLimitWebformHandler::alterBooleanElement in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Alter a boolean element's.
OptionsLimitWebformHandler::getOptionsReached in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Get value array of options reached.
OptionsLimitWebformHandler::getSourceEntity in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Get the webform source entity.
OptionsLimitWebformHandler::setBooleanElementDefaultValue in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Set a boolean element's default value.

... See full list

File

src/Plugin/WebformHandlerBase.php, line 213

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function getWebformSubmission() {
  return $this->webformSubmission;
}