public function YamlFormElementInterface::getKey in YAML Form 8
Get an element's key/name.
Parameters
array $element: An element.
Return value
string An element's key/name.
1 method overrides YamlFormElementInterface::getKey()
- YamlFormElementBase::getKey in src/
YamlFormElementBase.php - Get an element's key/name.
File
- src/
YamlFormElementInterface.php, line 295
Class
- YamlFormElementInterface
- Defines the interface for form elements.
Namespace
Drupal\yamlformCode
public function getKey(array $element);