You are here

public function WebformImageSelect::getItemDefaultFormat in Webform 8.5

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

Class

WebformImageSelect
Provides a 'image_select' element.

Namespace

Drupal\webform_image_select\Plugin\WebformElement

Code

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