You are here

public function OptionsBase::hasMultipleWrapper in Webform 6.x

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

Checks if the element uses the 'webform_multiple' element.

Return value

bool TRUE if the element supports multiple values.

Overrides WebformElementBase::hasMultipleWrapper

2 calls to OptionsBase::hasMultipleWrapper()
OptionsBase::getElementSelectorOptions in src/Plugin/WebformElement/OptionsBase.php
OptionsBase::getElementSelectorSourceValues in src/Plugin/WebformElement/OptionsBase.php
Get an element's selectors source values.

File

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

Class

OptionsBase
Provides a base 'options' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

public function hasMultipleWrapper() {
  return FALSE;
}