public function WebformAttachmentBase::getItemDefaultFormat in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_attachment/src/Plugin/WebformElement/WebformAttachmentBase.php \Drupal\webform_attachment\Plugin\WebformElement\WebformAttachmentBase::getItemDefaultFormat()
Get an element's default single value format name.
Return value
string An element's default single value format name.
Overrides WebformElementBase::getItemDefaultFormat
File
- modules/
webform_attachment/ src/ Plugin/ WebformElement/ WebformAttachmentBase.php, line 143
Class
- WebformAttachmentBase
- Provides a base class for 'webform_attachment' elements.
Namespace
Drupal\webform_attachment\Plugin\WebformElementCode
public function getItemDefaultFormat() {
return 'link';
}