Search for getForm

  1. Search 7.x for getForm
  2. Search 8.9.x for getForm
  3. Search 10.3.x for getForm
  4. Search 11.x for getForm
  5. Other projects
Title Object type File name Summary
EntityAutocompleteElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Returns a unique string identifying the form.
EntityConfirmFormBase::getFormName function core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php Returns the internal name used to refer to the confirmation item.
EntityDisplayRepository::getFormDisplay function core/lib/Drupal/Core/Entity/EntityDisplayRepository.php Returns the entity form display associated with a bundle and form mode.
EntityDisplayRepository::getFormModeOptions function core/lib/Drupal/Core/Entity/EntityDisplayRepository.php Gets an array of form mode options.
EntityDisplayRepository::getFormModeOptionsByBundle function core/lib/Drupal/Core/Entity/EntityDisplayRepository.php Returns an array of enabled form mode options by bundle.
EntityDisplayRepository::getFormModes function core/lib/Drupal/Core/Entity/EntityDisplayRepository.php Gets the entity form mode info for a specific entity type.
EntityDisplayRepositoryInterface::getFormDisplay function core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php Returns the entity form display associated with a bundle and form mode.
EntityDisplayRepositoryInterface::getFormModeOptions function core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php Gets an array of form mode options.
EntityDisplayRepositoryInterface::getFormModeOptionsByBundle function core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php Returns an array of enabled form mode options by bundle.
EntityDisplayRepositoryInterface::getFormModes function core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php Gets the entity form mode info for a specific entity type.
EntityField::getFormatterInstance function core/modules/views/src/Plugin/views/field/EntityField.php Returns the field formatter instance.
EntityForm::getFormId function core/lib/Drupal/Core/Entity/EntityForm.php Returns a unique string identifying the form.
EntityFormBuilder::getForm function core/lib/Drupal/Core/Entity/EntityFormBuilder.php Gets the built and processed entity form for the given entity.
EntityFormBuilderInterface::getForm function core/lib/Drupal/Core/Entity/EntityFormBuilderInterface.php Gets the built and processed entity form for the given entity.
EntityFormBuilderTest::testGetForm function core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php Tests the getForm() method.
EntityModerationForm::getFormId function core/modules/content_moderation/src/Form/EntityModerationForm.php Returns a unique string identifying the form.
EntityType::getFormClass function core/lib/Drupal/Core/Entity/EntityType.php Gets the form class for a specific operation.
EntityTypeInterface::getFormClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the form class for a specific operation.
EntityTypeManager::getFormObject function core/lib/Drupal/Core/Entity/EntityTypeManager.php Creates a new form instance.
EntityTypeManagerInterface::getFormObject function core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php Creates a new form instance.
EntityTypeManagerTest::testGetFormObject function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the getFormObject() method.
EntityTypeManagerTest::testGetFormObjectInvalidOperation function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the getFormObject() method with an invalid operation.
EntityTypeTest::testGetFormClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getFormClass() method.
ExportForm::getFormId function core/modules/locale/src/Form/ExportForm.php Returns a unique string identifying the form.
ExposedFormCache::getForm function core/modules/views/src/ExposedFormCache.php Retrieves the views exposed form from cache.
ExternalFormUrlTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/ExternalFormUrlTest.php Returns a unique string identifying the form.
FavoriteAnimalTestForm::getFormId function core/modules/block/tests/modules/block_test/src/Form/FavoriteAnimalTestForm.php Returns a unique string identifying the form.
FieldBlock::getFormatter function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Gets the formatter object.
FieldStorageAddForm::getFormId function core/modules/field_ui/src/Form/FieldStorageAddForm.php Returns a unique string identifying the form.
FileModuleTestForm::getFormId function core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php Returns a unique string identifying the form.
FileRequiredTestForm::getFormId function core/modules/file/tests/file_test/src/Form/FileRequiredTestForm.php Returns a unique string identifying the form.
FileSystemForm::getFormId function core/modules/system/src/Form/FileSystemForm.php Returns a unique string identifying the form.
FileTestForm::getFormId function core/modules/file/tests/file_test/src/Form/FileTestForm.php Returns a unique string identifying the form.
FileTestSaveUploadFromForm::getFormId function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Returns a unique string identifying the form.
FileTransferAuthorizeForm::getFormId function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Returns a unique string identifying the form.
FileUploadForm::getFormId function core/modules/media_library/src/Form/FileUploadForm.php Returns a unique string identifying the form.
FilterFormatListBuilder::getFormId function core/modules/filter/src/FilterFormatListBuilder.php Returns a unique string identifying the form.
FilterTestFormatForm::getFormId function core/modules/filter/tests/filter_test/src/Form/FilterTestFormatForm.php Returns a unique string identifying the form.
FormActionXssTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/FormActionXssTest.php Returns a unique string identifying the form.
FormAjaxException::getForm function core/lib/Drupal/Core/Form/FormAjaxException.php Gets the form definition.
FormAjaxException::getFormState function core/lib/Drupal/Core/Form/FormAjaxException.php Gets the form state.
FormAjaxSubscriber::getFormAjaxException function core/lib/Drupal/Core/Form/EventSubscriber/FormAjaxSubscriber.php Extracts a form AJAX exception.
FormattableMarkupKernelTest::getFormattableMarkupUriArgs function core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php Gets arguments for FormattableMarkup based on Url::fromUri() parameters.
FormBuilder::getForm function core/lib/Drupal/Core/Form/FormBuilder.php Gets a renderable form array.
FormBuilder::getFormId function core/lib/Drupal/Core/Form/FormBuilder.php Determines the ID of a form.
FormBuilderInterface::getForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Gets a renderable form array.
FormBuilderInterface::getFormId function core/lib/Drupal/Core/Form/FormBuilderInterface.php Determines the ID of a form.
FormBuilderTest::testGetFormIdWithBaseForm function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a base form object.
FormBuilderTest::testGetFormIdWithClassName function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a class name form ID.
FormBuilderTest::testGetFormIdWithInjectedClassName function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with an injected class name form ID.

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