You are here

class YamlFormImageFile in YAML Form 8

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

Provides a form element for an 'image_file' element.

Plugin annotation

@FormElement("yamlform_image_file");

Hierarchy

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

Expanded class hierarchy of YamlFormImageFile

File

src/Element/YamlFormImageFile.php, line 10

Namespace

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

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

}

Members