You are here

public function WebformComputedBase::isInput in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/WebformComputedBase.php \Drupal\webform\Plugin\WebformElement\WebformComputedBase::isInput()

Checks if the element carries a value.

Parameters

array $element: An element.

Return value

bool TRUE if the element carries a value.

Overrides WebformElementBase::isInput

File

src/Plugin/WebformElement/WebformComputedBase.php, line 75

Class

WebformComputedBase
Provides a base class for 'webform_computed' elements.

Namespace

Drupal\webform\Plugin\WebformElement

Code

public function isInput(array $element) {

  // Set to TRUE so that the computed value can be exported.
  return TRUE;
}