public function YamlFormUiElementTestForm::exists in YAML Form 8
Determines if the form element key already exists.
Parameters
string $key: The form element key.
Return value
bool TRUE if the form element key, FALSE otherwise.
Overrides YamlFormUiElementFormBase::exists
File
- modules/
yamlform_ui/ src/ Form/ YamlFormUiElementTestForm.php, line 209
Class
- YamlFormUiElementTestForm
- Provides a test form for form elements.
Namespace
Drupal\yamlform_ui\FormCode
public function exists($key) {
return FALSE;
}