You are here

public function AddForm::getFormId in Linkit 8.4

Same name in this branch
  1. 8.4 src/Form/Attribute/AddForm.php \Drupal\linkit\Form\Attribute\AddForm::getFormId()
  2. 8.4 src/Form/Matcher/AddForm.php \Drupal\linkit\Form\Matcher\AddForm::getFormId()
Same name and namespace in other branches
  1. 8.5 src/Form/Matcher/AddForm.php \Drupal\linkit\Form\Matcher\AddForm::getFormId()

Returns a unique string identifying the form.

The returned ID should be a unique string that can be a valid PHP function name, since it's used in hook implementation names such as hook_form_FORM_ID_alter().

Return value

string The unique string identifying the form.

Overrides FormInterface::getFormId

File

src/Form/Matcher/AddForm.php, line 59
Contains \Drupal\linkit\Form\Matcher\AddForm.

Class

AddForm
Provides a form to apply matchers to a profile.

Namespace

Drupal\linkit\Form\Matcher

Code

public function getFormId() {
  return "linkit_matcher_add_form";
}