You are here

public static function WebformEntityCheckboxes::processCheckboxes in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Element/WebformEntityCheckboxes.php \Drupal\webform\Element\WebformEntityCheckboxes::processCheckboxes()

Processes a checkboxes form element.

Overrides Checkboxes::processCheckboxes

File

src/Element/WebformEntityCheckboxes.php, line 20

Class

WebformEntityCheckboxes
Provides a webform element for a entity checkboxes.

Namespace

Drupal\webform\Element

Code

public static function processCheckboxes(&$element, FormStateInterface $form_state, &$complete_form) {
  static::setOptions($element);
  return parent::processCheckboxes($element, $form_state, $complete_form);
}