Search for getForm

  1. Search 7.x for getForm
  2. Search 9.5.x for getForm
  3. Search 8.9.x for getForm
  4. Search 10.3.x for getForm
  5. Other projects
Title Object type File name Summary
HtmlEntityFormController::getFormObject function core/lib/Drupal/Core/Entity/HtmlEntityFormController.php Instead of a class name or service ID, $form_arg will be a string
representing the entity and operation being performed.
Consider the following route:
HtmlFormController::getFormArgument function core/lib/Drupal/Core/Controller/HtmlFormController.php Extracts the form argument string from a request.
HtmlFormController::getFormObject function core/lib/Drupal/Core/Controller/HtmlFormController.php Returns the object used to build the form.
HtmxTestAjaxForm::getFormId function core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestAjaxForm.php Returns a unique string identifying the form.
IdConflictForm::getFormId function core/modules/migrate_drupal_ui/src/Form/IdConflictForm.php Returns a unique string identifying the form.
ImageEffectDeleteForm::getFormId function core/modules/image/src/Form/ImageEffectDeleteForm.php Returns a unique string identifying the form.
ImageEffectFormBase::getFormId function core/modules/image/src/Form/ImageEffectFormBase.php Returns a unique string identifying the form.
ImageToolkitForm::getFormId function core/modules/system/src/Form/ImageToolkitForm.php Returns a unique string identifying the form.
ImportForm::getFormId function core/modules/locale/src/Form/ImportForm.php Returns a unique string identifying the form.
IncorrectConfigTargetForm class core/modules/system/tests/modules/form_test/src/Form/IncorrectConfigTargetForm.php A form for configuring preferences with AJAX updates.
IncorrectConfigTargetForm.php file core/modules/system/tests/modules/form_test/src/Form/IncorrectConfigTargetForm.php
IncorrectConfigTargetForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/IncorrectConfigTargetForm.php Form constructor.
IncorrectConfigTargetForm::getEditableConfigNames function core/modules/system/tests/modules/form_test/src/Form/IncorrectConfigTargetForm.php Gets the configuration names that will be editable.
IncorrectConfigTargetForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/IncorrectConfigTargetForm.php Returns a unique string identifying the form.
IncrementalForm::getFormId function core/modules/migrate_drupal_ui/src/Form/IncrementalForm.php Returns a unique string identifying the form.
JavascriptStatesForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php Returns a unique string identifying the form.
JSInteractionTestForm::getFormId function core/modules/system/tests/modules/js_interaction_test/src/Controller/JSInteractionTestForm.php Returns a unique string identifying the form.
JsonApiSettingsForm::getFormId function core/modules/jsonapi/src/Form/JsonApiSettingsForm.php Returns a unique string identifying the form.
JsWebAssertTestForm::getFormId function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Returns a unique string identifying the form.
JsWebAssertTestForm::getFormId function core/modules/system/tests/modules/jswebassert_test/src/Form/JsWebAssertTestForm.php Returns a unique string identifying the form.
LanguageAddForm::getFormId function core/modules/language/src/Form/LanguageAddForm.php Returns a unique string identifying the form.
LanguageConfigurationElement::getFormId function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php Returns a unique string identifying the form.
LanguageConfigurationElementTest::getFormId function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php Returns a unique string identifying the form.
LanguageDeleteForm::getFormId function core/modules/language/src/Form/LanguageDeleteForm.php Returns a unique string identifying the form.
LanguageEditForm::getFormId function core/modules/language/src/Form/LanguageEditForm.php Returns a unique string identifying the form.
LanguageListBuilder::getFormId function core/modules/language/src/LanguageListBuilder.php Returns a unique string identifying the form.
LayoutBuilderDecorationTestHtmlEntityFormController::getFormArgument function core/modules/layout_builder/tests/modules/layout_builder_decoration_test/src/Controller/LayoutBuilderDecorationTestHtmlEntityFormController.php Extracts the form argument string from a request.
LayoutBuilderDecorationTestHtmlEntityFormController::getFormObject function core/modules/layout_builder/tests/modules/layout_builder_decoration_test/src/Controller/LayoutBuilderDecorationTestHtmlEntityFormController.php Returns the object used to build the form.
LayoutBuilderDisableForm::getFormId function core/modules/layout_builder/src/Form/LayoutBuilderDisableForm.php Returns a unique string identifying the form.
LayoutBuilderHtmlEntityFormController::getFormArgument function core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php Extracts the form argument string from a request.
LayoutBuilderHtmlEntityFormController::getFormObject function core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php Returns the object used to build the form.
LayoutBuilderSettingsForm::getFormId function core/modules/layout_builder/src/Form/LayoutBuilderSettingsForm.php Returns a unique string identifying the form.
LayoutForm::getFormId function core/modules/navigation/src/Form/LayoutForm.php Returns a unique string identifying the form.
LocaleSettingsForm::getFormId function core/modules/locale/src/Form/LocaleSettingsForm.php Returns a unique string identifying the form.
LoggingForm::getFormId function core/modules/system/src/Form/LoggingForm.php Returns a unique string identifying the form.
MachineNameTest::getFormId function core/tests/Drupal/KernelTests/Core/Render/Element/MachineNameTest.php Returns a unique string identifying the form.
ManagedFileTest::getFormId function core/modules/file/tests/src/Kernel/ManagedFileTest.php Returns a unique string identifying the form.
MediaLibraryWidgetTest::buildWidgetForm function core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Build the media library widget form.
MediaSettingsForm::getFormId function core/modules/media/src/Form/MediaSettingsForm.php Returns a unique string identifying the form.
MenuLinkBase::getFormClass function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns the name of a class that can build an editing form for this link.
MenuLinkEditForm::getFormId function core/modules/menu_ui/src/Form/MenuLinkEditForm.php Returns a unique string identifying the form.
MenuLinkInterface::getFormClass function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the name of a class that can build an editing form for this link.
MenuLinkResetForm::getFormId function core/modules/menu_ui/src/Form/MenuLinkResetForm.php Returns a unique string identifying the form.
MenuLinksetSettingsForm::getFormId function core/modules/system/src/Form/MenuLinksetSettingsForm.php Returns a unique string identifying the form.
MessageForm::getFormId function core/modules/migrate/src/Form/MessageForm.php Returns a unique string identifying the form.
ModulesListConfirmForm::getFormId function core/modules/system/src/Form/ModulesListConfirmForm.php Returns a unique string identifying the form.
ModulesListForm::getFormId function core/modules/system/src/Form/ModulesListForm.php Returns a unique string identifying the form.
ModulesListNonStableConfirmForm::getFormId function core/modules/system/src/Form/ModulesListNonStableConfirmForm.php Returns a unique string identifying the form.
ModulesUninstallConfirmForm::getFormId function core/modules/system/src/Form/ModulesUninstallConfirmForm.php Returns a unique string identifying the form.
ModulesUninstallForm::getFormId function core/modules/system/src/Form/ModulesUninstallForm.php Returns a unique string identifying the form.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.