public static function WebformComputedBase::validateWebformComputedCallback in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Element/WebformComputedBase.php \Drupal\webform\Element\WebformComputedBase::validateWebformComputedCallback()
Webform computed element validate callback.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
File
- src/
Element/ WebformComputedBase.php, line 236
Class
- WebformComputedBase
- Provides a base class for 'webform_computed' elements.
Namespace
Drupal\webform\ElementCode
public static function validateWebformComputedCallback(array $form, FormStateInterface $form_state) {
$form_state
->clearErrors();
}