public function WebformElementComputedInterface::computeValue in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElementComputedInterface.php \Drupal\webform\Plugin\WebformElementComputedInterface::computeValue()
Compute value.
Parameters
array $element: An element.
\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.
Return value
string The computed value.
1 method overrides WebformElementComputedInterface::computeValue()
- WebformComputedBase::computeValue in src/
Plugin/ WebformElement/ WebformComputedBase.php - Compute value.
File
- src/
Plugin/ WebformElementComputedInterface.php, line 23
Class
- WebformElementComputedInterface
- Defines the interface for webform computed elements.
Namespace
Drupal\webform\PluginCode
public function computeValue(array $element, WebformSubmissionInterface $webform_submission);