You are here

public function WebformElementInterface::getValue in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::getValue()

Get an element's submission value.

Parameters

array $element: An element.

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

array $options: An array of options.

Return value

array|string The element's submission value.

1 method overrides WebformElementInterface::getValue()
WebformElementBase::getValue in src/Plugin/WebformElementBase.php
Get an element's submission value.

File

src/Plugin/WebformElementInterface.php, line 536

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function getValue(array $element, WebformSubmissionInterface $webform_submission, array $options = []);