You are here

public function WebformAttachmentBase::getItemDefaultFormat in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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 126

Class

WebformAttachmentBase
Provides a base class for 'webform_attachment' elements.

Namespace

Drupal\webform_attachment\Plugin\WebformElement

Code

public function getItemDefaultFormat() {
  return 'link';
}