You are here

class YamlFormAudioFile in YAML Form 8

Same name in this branch
  1. 8 src/Element/YamlFormAudioFile.php \Drupal\yamlform\Element\YamlFormAudioFile
  2. 8 src/Plugin/YamlFormElement/YamlFormAudioFile.php \Drupal\yamlform\Plugin\YamlFormElement\YamlFormAudioFile

Provides a form element for an 'audio_file' element.

Plugin annotation

@FormElement("yamlform_audio_file");

Hierarchy

  • class \Drupal\yamlform\Element\YamlFormAudioFile extends \Drupal\yamlform\Element\YamlFormManagedFileBase

Expanded class hierarchy of YamlFormAudioFile

File

src/Element/YamlFormAudioFile.php, line 10

Namespace

Drupal\yamlform\Element
View source
class YamlFormAudioFile extends YamlFormManagedFileBase {

  /**
   * {@inheritdoc}
   */
  protected static $accept = 'audio/*';

}

Members