You are here

public function OptionsBase::getItemsDefaultFormat in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/OptionsBase.php \Drupal\webform\Plugin\WebformElement\OptionsBase::getItemsDefaultFormat()

Get an element's default multiple value format name.

Return value

string An element's default multiple value format name.

Overrides WebformElementBase::getItemsDefaultFormat

1 method overrides OptionsBase::getItemsDefaultFormat()
WebformImageSelect::getItemsDefaultFormat in modules/webform_image_select/src/Plugin/WebformElement/WebformImageSelect.php
Get an element's default multiple value format name.

File

src/Plugin/WebformElement/OptionsBase.php, line 417

Class

OptionsBase
Provides a base 'options' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

public function getItemsDefaultFormat() {
  return 'comma';
}