You are here

public function WebformSubmissionStorageInterface::invokeWebformElements in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::invokeWebformElements()

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

Parameters

string $method: The webform element 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.

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

File

src/WebformSubmissionStorageInterface.php, line 533

Class

WebformSubmissionStorageInterface
Defines an interface for webform submission classes.

Namespace

Drupal\webform

Code

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