You are here

class WebformImageFile in Webform 8.5

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

Provides a webform element for an 'image_file' element.

Plugin annotation

@FormElement("webform_image_file");

Hierarchy

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

Expanded class hierarchy of WebformImageFile

File

src/Element/WebformImageFile.php, line 10

Namespace

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

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

}

Members