Webform module and config export
This commit is contained in:
parent
3e6a5cbed2
commit
0e15467384
1040 changed files with 117682 additions and 0 deletions
17
web/modules/contrib/webform/src/Element/WebformImageFile.php
Normal file
17
web/modules/contrib/webform/src/Element/WebformImageFile.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?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/*';
|
||||
|
||||
}
|
||||
Reference in a new issue