public function WebformElementManagerInterface::processElement in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElementManagerInterface.php \Drupal\webform\Plugin\WebformElementManagerInterface::processElement()
Process a form element and apply webform element specific enhancements.
This method allows any form API element to be enhanced using webform specific features include custom validation, external libraries, accessibility improvements, etc…
Parameters
array $element: An associative array containing an element with a #type property.
Return value
array The processed form element with webform element specific enhancements.
1 method overrides WebformElementManagerInterface::processElement()
- WebformElementManager::processElement in src/
Plugin/ WebformElementManager.php - Process a form element and apply webform element specific enhancements.
File
- src/
Plugin/ WebformElementManagerInterface.php, line 62
Class
- WebformElementManagerInterface
- Collects available webform elements.
Namespace
Drupal\webform\PluginCode
public function processElement(array &$element);