public function WebformElementBase::hasMultipleWrapper in Webform 6.x
Same name and namespace in other branches
- 8.5 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 516
Class
- WebformElementBase
- Provides a base class for a webform element.
Namespace
Drupal\webform\PluginCode
public function hasMultipleWrapper() {
return TRUE;
}