You are here

public function WebformSubmissionStorageInterface::invokeWebformHandlers in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::invokeWebformHandlers()

Invoke a webform submission's webform's handlers method.

Parameters

string $method: The webform handler method to be invoked.

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

mixed $context1: (optional) An additional variable that is passed by reference.

mixed $context2: (optional) An additional variable that is passed by reference.

Return value

\Drupal\Core\Access\AccessResult|null If 'access' method is invoked an AccessResult is returned.

1 method overrides WebformSubmissionStorageInterface::invokeWebformHandlers()
WebformSubmissionStorage::invokeWebformHandlers in src/WebformSubmissionStorage.php
Invoke a webform submission's webform's handlers method.

File

src/WebformSubmissionStorageInterface.php, line 520

Class

WebformSubmissionStorageInterface
Defines an interface for webform submission classes.

Namespace

Drupal\webform

Code

public function invokeWebformHandlers($method, WebformSubmissionInterface $webform_submission, &$context1 = NULL, &$context2 = NULL);