You are here

public function WebformElementComputedInterface::computeValue in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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\Plugin

Code

public function computeValue(array $element, WebformSubmissionInterface $webform_submission);