public function WebformSubmission::invokeWebformElements in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Entity/WebformSubmission.php \Drupal\webform\Entity\WebformSubmission::invokeWebformElements()
Invoke a webform element elements method.
Parameters
string $method: The webform element method to be invoked.
Overrides WebformSubmissionInterface::invokeWebformElements
File
- src/
Entity/ WebformSubmission.php, line 601
Class
- WebformSubmission
- Defines the WebformSubmission entity.
Namespace
Drupal\webform\EntityCode
public function invokeWebformElements($method, &$context1 = NULL, &$context2 = NULL, &$context3 = NULL) {
if ($webform = $this
->getWebform()) {
$webform
->invokeElements($method, $this, $context1, $context2, $context3);
}
}