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 11.x for getForm
  5. Other projects
Title Object type File name Summary
ElementsLabelsTest::getFormWithLimitedProperties function core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Return a form with element with not all properties defined.
EmbeddedForm::getFormId function core/modules/field_layout/tests/modules/field_layout_test/src/Form/EmbeddedForm.php Returns a unique string identifying the form.
Endpoint::getFormats function core/modules/media/src/OEmbed/Endpoint.php Returns list of supported formats.
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.
EntityDisplayModeFormBase::getFormDisplay function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Load the form display for a given bundle and form mode name.
EntityDisplayRepository::getFormDisplay function core/lib/Drupal/Core/Entity/EntityDisplayRepository.php
EntityDisplayRepository::getFormModeOptions function core/lib/Drupal/Core/Entity/EntityDisplayRepository.php
EntityDisplayRepository::getFormModeOptionsByBundle function core/lib/Drupal/Core/Entity/EntityDisplayRepository.php
EntityDisplayRepository::getFormModes function core/lib/Drupal/Core/Entity/EntityDisplayRepository.php
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
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
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.
FieldConfigEditForm::getFormId function core/modules/field_ui/src/Form/FieldConfigEditForm.php Returns a unique string identifying the form.
FieldStorageAddForm::getFormId function core/modules/field_ui/src/Form/FieldStorageAddForm.php Returns a unique string identifying the form.
FieldStorageReuseForm::getFormId function core/modules/field_ui/src/Form/FieldStorageReuseForm.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

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