You are here

YamlFormRadiosOther.php in YAML Form 8

File

src/Plugin/YamlFormElement/YamlFormRadiosOther.php
View source
<?php

namespace Drupal\yamlform\Plugin\YamlFormElement;


/**
 * Provides a 'radios_other' element.
 *
 * @YamlFormElement(
 *   id = "yamlform_radios_other",
 *   label = @Translation("Radios other"),
 *   category = @Translation("Options elements"),
 * )
 */
class YamlFormRadiosOther extends Radios {

  /**
   * {@inheritdoc}
   */
  public function getDefaultProperties() {
    return parent::getDefaultProperties() + self::getOtherProperties();
  }

}

Classes

Namesort descending Description
YamlFormRadiosOther Provides a 'radios_other' element.