You are here

public static function WebformEntityRadios::processRadios in Webform 6.x

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

Expands a radios element into individual radio elements.

Overrides Radios::processRadios

File

src/Element/WebformEntityRadios.php, line 20

Class

WebformEntityRadios
Provides a webform element for a entity radios.

Namespace

Drupal\webform\Element

Code

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