public function WebformElementBase::supportsMultipleValues in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElementBase.php \Drupal\webform\Plugin\WebformElementBase::supportsMultipleValues()
Checks if the element supports multiple values.
Return value
bool TRUE if the element supports multiple values.
Overrides WebformElementInterface::supportsMultipleValues
2 calls to WebformElementBase::supportsMultipleValues()
- OptionsBase::form in src/
Plugin/ WebformElement/ OptionsBase.php - Gets the actual configuration webform array to be built.
- WebformCompositeBase::prepareMultipleWrapper in src/
Plugin/ WebformElement/ WebformCompositeBase.php - Set multiple element wrapper.
8 methods override WebformElementBase::supportsMultipleValues()
- Checkboxes::supportsMultipleValues in src/
Plugin/ WebformElement/ Checkboxes.php - Checks if the element supports multiple values.
- EntityAutocomplete::supportsMultipleValues in src/
Plugin/ WebformElement/ EntityAutocomplete.php - Checks if the element supports multiple values.
- Select::supportsMultipleValues in src/
Plugin/ WebformElement/ Select.php - Checks if the element supports multiple values.
- TableSelect::supportsMultipleValues in src/
Plugin/ WebformElement/ TableSelect.php - Checks if the element supports multiple values.
- WebformManagedFileBase::supportsMultipleValues in src/
Plugin/ WebformElement/ WebformManagedFileBase.php - Checks if the element supports multiple values.
File
- src/
Plugin/ WebformElementBase.php, line 509
Class
- WebformElementBase
- Provides a base class for a webform element.
Namespace
Drupal\webform\PluginCode
public function supportsMultipleValues() {
return $this
->hasProperty('multiple');
}