public function YamlFormElementManagerInterface::getElementPluginId in YAML Form 8
Is an element's plugin id.
Parameters
array $element: A element.
Return value
string An element's $type has a corresponding plugin id, else fallback 'element' plugin id.
1 method overrides YamlFormElementManagerInterface::getElementPluginId()
- YamlFormElementManager::getElementPluginId in src/
YamlFormElementManager.php - Is an element's plugin id.
File
- src/
YamlFormElementManagerInterface.php, line 53
Class
- YamlFormElementManagerInterface
- Collects available form elements.
Namespace
Drupal\yamlformCode
public function getElementPluginId(array $element);