interface WebformElementComputedInterface in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElementComputedInterface.php \Drupal\webform\Plugin\WebformElementComputedInterface
Defines the interface for webform computed elements.
Hierarchy
- interface \Drupal\webform\Plugin\WebformElementComputedInterface
Expanded class hierarchy of WebformElementComputedInterface
All classes that implement WebformElementComputedInterface
3 files declare their use of WebformElementComputedInterface
- Webform.php in src/
Entity/ Webform.php - WebformCompositeBase.php in src/
Plugin/ WebformElement/ WebformCompositeBase.php - WebformComputedBase.php in src/
Plugin/ WebformElement/ WebformComputedBase.php
File
- src/
Plugin/ WebformElementComputedInterface.php, line 10
Namespace
Drupal\webform\PluginView source
interface WebformElementComputedInterface {
/**
* Compute value.
*
* @param array $element
* An element.
* @param \Drupal\webform\WebformSubmissionInterface $webform_submission
* A webform submission.
*
* @return string
* The computed value.
*/
public function computeValue(array $element, WebformSubmissionInterface $webform_submission);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WebformElementComputedInterface:: |
public | function | Compute value. | 1 |