You are here

public function WebformElementInterface::getElementSelectorInputValue in Webform 8.5

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

Get an element's (sub)input selector value.

Parameters

string $selector: CSS :input selector.

string $trigger: Trigger from #states.

array $element: An element.

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

Return value

mixed The element input's value.

1 method overrides WebformElementInterface::getElementSelectorInputValue()
WebformElementBase::getElementSelectorInputValue in src/Plugin/WebformElementBase.php
Get an element's (sub)input selector value.

File

src/Plugin/WebformElementInterface.php, line 806

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function getElementSelectorInputValue($selector, $trigger, array $element, WebformSubmissionInterface $webform_submission);