You are here

public function WebformUiElementTestForm::exists in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_ui/src/Form/WebformUiElementTestForm.php \Drupal\webform_ui\Form\WebformUiElementTestForm::exists()

Determines if the webform element key already exists.

Parameters

string $key: The webform element key.

Return value

bool TRUE if the webform element key, FALSE otherwise.

Overrides WebformUiElementFormBase::exists

File

modules/webform_ui/src/Form/WebformUiElementTestForm.php, line 212

Class

WebformUiElementTestForm
Provides a test webform for webform elements.

Namespace

Drupal\webform_ui\Form

Code

public function exists($key) {
  return FALSE;
}