public function YamlFormElementInterface::getAdminLabel in YAML Form 8
Get an element's admin label (#admin_title, #title or #yamlform_key).
Parameters
array $element: An element.
Return value
string An element's label (#admin_title, #title or #yamlform_key).
1 method overrides YamlFormElementInterface::getAdminLabel()
- YamlFormElementBase::getAdminLabel in src/
YamlFormElementBase.php - Get an element's admin label (#admin_title, #title or #yamlform_key).
File
- src/
YamlFormElementInterface.php, line 284
Class
- YamlFormElementInterface
- Defines the interface for form elements.
Namespace
Drupal\yamlformCode
public function getAdminLabel(array $element);