public function WebformElementInterface::hasValue in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::hasValue()
Determine if an element's has a submission value.
Parameters
array $element: An element.
\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.
array $options: An array of options.
Return value
bool TRUE if them element's has a submission value.
1 method overrides WebformElementInterface::hasValue()
- WebformElementBase::hasValue in src/
Plugin/ WebformElementBase.php - Determine if an element's has a submission value.
File
- src/
Plugin/ WebformElementInterface.php, line 521
Class
- WebformElementInterface
- Defines the interface for webform elements.
Namespace
Drupal\webform\PluginCode
public function hasValue(array $element, WebformSubmissionInterface $webform_submission, array $options = []);