You are here

public function WebformElementBase::hasMultipleWrapper in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementBase.php \Drupal\webform\Plugin\WebformElementBase::hasMultipleWrapper()

Checks if the element uses the 'webform_multiple' element.

Return value

bool TRUE if the element supports multiple values.

Overrides WebformElementInterface::hasMultipleWrapper

2 calls to WebformElementBase::hasMultipleWrapper()
WebformElementBase::getElementSelectorOptions in src/Plugin/WebformElementBase.php
Get an element's selectors as options.
WebformElementBase::prepareMultipleWrapper in src/Plugin/WebformElementBase.php
Set multiple element wrapper.
3 methods override WebformElementBase::hasMultipleWrapper()
EntityAutocomplete::hasMultipleWrapper in src/Plugin/WebformElement/EntityAutocomplete.php
Checks if the element uses the 'webform_multiple' element.
OptionsBase::hasMultipleWrapper in src/Plugin/WebformElement/OptionsBase.php
Checks if the element uses the 'webform_multiple' element.
WebformManagedFileBase::hasMultipleWrapper in src/Plugin/WebformElement/WebformManagedFileBase.php
Checks if the element uses the 'webform_multiple' element.

File

src/Plugin/WebformElementBase.php, line 588

Class

WebformElementBase
Provides a base class for a webform element.

Namespace

Drupal\webform\Plugin

Code

public function hasMultipleWrapper() {
  return TRUE;
}