You are here

class WebformAudioFile in Webform 8.5

Same name in this branch
  1. 8.5 src/Element/WebformAudioFile.php \Drupal\webform\Element\WebformAudioFile
  2. 8.5 src/Plugin/WebformElement/WebformAudioFile.php \Drupal\webform\Plugin\WebformElement\WebformAudioFile
Same name and namespace in other branches
  1. 6.x src/Element/WebformAudioFile.php \Drupal\webform\Element\WebformAudioFile

Provides a webform element for an 'audio_file' element.

Plugin annotation

@FormElement("webform_audio_file");

Hierarchy

  • class \Drupal\webform\Element\WebformAudioFile extends \Drupal\webform\Element\WebformManagedFileBase

Expanded class hierarchy of WebformAudioFile

File

src/Element/WebformAudioFile.php, line 10

Namespace

Drupal\webform\Element
View source
class WebformAudioFile extends WebformManagedFileBase {

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

}

Members