WebformImageFile.php in Webform 6.x
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\webform\ElementFile
src/Element/WebformImageFile.phpView source
<?php
namespace Drupal\webform\Element;
/**
* Provides a webform element for an 'image_file' element.
*
* @FormElement("webform_image_file")
*/
class WebformImageFile extends WebformManagedFileBase {
/**
* {@inheritdoc}
*/
protected static $accept = 'image/*';
}
Classes
Name | Description |
---|---|
WebformImageFile | Provides a webform element for an 'image_file' element. |