public function WebformElementInterface::getItemsFormat in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::getItemsFormat()
Get element's multiple value format name by looking for '#format' property, global settings, and finally default settings.
Parameters
array $element: An element.
Return value
string An element's format name.
1 method overrides WebformElementInterface::getItemsFormat()
- WebformElementBase::getItemsFormat in src/
Plugin/ WebformElementBase.php - Get element's multiple value format name by looking for '#format' property, global settings, and finally default settings.
File
- src/
Plugin/ WebformElementInterface.php, line 605
Class
- WebformElementInterface
- Defines the interface for webform elements.
Namespace
Drupal\webform\PluginCode
public function getItemsFormat(array $element);