You are here

YamlFormSelectOther.php in YAML Form 8

File

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

namespace Drupal\yamlform\Plugin\YamlFormElement;


/**
 * Provides a 'select_other' element.
 *
 * @YamlFormElement(
 *   id = "yamlform_select_other",
 *   label = @Translation("Select other"),
 *   category = @Translation("Options elements"),
 * )
 */
class YamlFormSelectOther extends Select {

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

}

Classes

Namesort descending Description
YamlFormSelectOther Provides a 'select_other' element.