8.5.x FormInterface.php FormInterface::getFormId()
8.0.x FormInterface.php FormInterface::getFormId()
8.1.x FormInterface.php FormInterface::getFormId()
8.2.x FormInterface.php FormInterface::getFormId()
8.3.x FormInterface.php FormInterface::getFormId()
8.4.x FormInterface.php FormInterface::getFormId()
8.6.x FormInterface.php FormInterface::getFormId()

Returns a unique string identifying the form.

Return value

string The unique string identifying the form.

Overrides FormInterface::getFormId

221 methods override FormInterface::getFormId()
AccountSettingsForm::getFormId in core/modules/user/src/AccountSettingsForm.php
Returns a unique string identifying the form.
ActionAdminManageForm::getFormId in core/modules/action/src/Form/ActionAdminManageForm.php
Returns a unique string identifying the form.
AddForm::getFormId in core/modules/path/src/Form/AddForm.php
Returns a unique string identifying the form.
AddHandler::getFormId in core/modules/views_ui/src/Form/Ajax/AddHandler.php
Returns a unique string identifying the form.
AdvancedSettingsForm::getFormId in core/modules/views_ui/src/Form/AdvancedSettingsForm.php
Returns a unique string identifying the form.

... See full list

File

core/lib/Drupal/Core/Form/FormInterface.php, line 18

Class

FormInterface
Provides an interface for a Form.

Namespace

Drupal\Core\Form

Code

public function getFormId();