public function WebformElementInterface::getItemFormats in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::getItemFormats()
Get an element's available single value formats.
Return value
array An associative array of single value formats containing name/label pairs.
1 method overrides WebformElementInterface::getItemFormats()
- WebformElementBase::getItemFormats in src/
Plugin/ WebformElementBase.php - Get an element's available single value formats.
File
- src/
Plugin/ WebformElementInterface.php, line 559
Class
- WebformElementInterface
- Defines the interface for webform elements.
Namespace
Drupal\webform\PluginCode
public function getItemFormats();