You are here

public function WebformUiElementTestForm::exists in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 213

Class

WebformUiElementTestForm
Provides a test webform for webform elements.

Namespace

Drupal\webform_ui\Form

Code

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