You are here

public function WebformElementInterface::hasValue in Webform 8.5

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

Code

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