You are here

public static function YamlFormButtonsOther::processYamlFormOther in YAML Form 8

Processes an 'other' element.

See select list form element for select list properties.

Overrides YamlFormOtherBase::processYamlFormOther

See also

\Drupal\Core\Render\Element\Select

File

src/Element/YamlFormButtonsOther.php, line 26

Class

YamlFormButtonsOther
Provides a form element for buttons with an other option.

Namespace

Drupal\yamlform\Element

Code

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