You are here

public function WebformImageSelect::getItemDefaultFormat in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_image_select/src/Plugin/WebformElement/WebformImageSelect.php \Drupal\webform_image_select\Plugin\WebformElement\WebformImageSelect::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_image_select/src/Plugin/WebformElement/WebformImageSelect.php, line 200

Class

WebformImageSelect
Provides a 'image_select' element.

Namespace

Drupal\webform_image_select\Plugin\WebformElement

Code

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