Search for form

  1. Search 7.x for form
  2. Search 9.5.x for form
  3. Search 8.9.x for form
  4. Search 10.3.x for form
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Form class core/lib/Drupal/Core/Render/Element/Form.php Provides a render element for a form.
Form class core/modules/system/tests/modules/router_test_directory/src/Form.php Form to test _form routing.

All search results

Title Object type File name Summary
TermForm.php file core/modules/taxonomy/src/TermForm.php
TermForm::actions function core/modules/taxonomy/src/TermForm.php Returns an array of supported actions for the current entity form.
TermForm::buildEntity function core/modules/taxonomy/src/TermForm.php Builds an updated entity object based upon the submitted form values.
TermForm::flagViolations function core/modules/taxonomy/src/TermForm.php Flags violations for the current form.
TermForm::form function core/modules/taxonomy/src/TermForm.php Gets the actual form array to be built.
TermForm::getEditedFieldNames function core/modules/taxonomy/src/TermForm.php Gets the names of all fields edited in the form.
TermForm::getParentIds function core/modules/taxonomy/src/TermForm.php Returns term parent IDs, including the root.
TermForm::overview function core/modules/taxonomy/src/TermForm.php Form submission handler for the 'overview' action.
TermForm::save function core/modules/taxonomy/src/TermForm.php Form submission handler for the 'save' action.
TermForm::validateForm function core/modules/taxonomy/src/TermForm.php Button-level validation handlers are highly discouraged for entity forms,
as they will prevent entity validation from running. If the entity is going
to be saved during the form submission, this method should be manually
invoked from the button-level…
TermInterface::getFormat function core/modules/taxonomy/src/TermInterface.php Gets the text format name for the term description.
TermInterface::setFormat function core/modules/taxonomy/src/TermInterface.php Sets the text format name for the term description.
TermJsonAnonTest::$format property core/modules/taxonomy/tests/src/Functional/Rest/TermJsonAnonTest.php The format to use in this test.
TermJsonBasicAuthTest::$format property core/modules/taxonomy/tests/src/Functional/Rest/TermJsonBasicAuthTest.php The format to use in this test.
TermJsonCookieTest::$format property core/modules/taxonomy/tests/src/Functional/Rest/TermJsonCookieTest.php The format to use in this test.
TermName::buildOptionsForm function core/modules/taxonomy/src/Plugin/views/argument_validator/TermName.php Provides the default form for setting options.
TermName::buildOptionsForm function core/modules/taxonomy/src/Plugin/views/field/TermName.php Default option form that provides label widget that all fields should have.
TermParentsTest::submitAddTermForm function core/modules/taxonomy/tests/src/Functional/TermParentsTest.php Creates a term through the user interface and returns it.
TermParentsTest::testEditingParentsWithDisabledFormElement function core/modules/taxonomy/tests/src/Functional/TermParentsTest.php Tests specifying parents when creating terms and a disabled parent form.
TermSelection::buildConfigurationForm function core/modules/taxonomy/src/Plugin/EntityReferenceSelection/TermSelection.php Form constructor.
TermTranslationHandler::entityFormAlter function core/modules/taxonomy/src/TermTranslationHandler.php Performs the needed alterations to the entity form.
TermTranslationHandler::entityFormEntityBuild function core/modules/taxonomy/src/TermTranslationHandler.php Entity builder method.
TermTranslationHandler::entityFormSave function core/modules/taxonomy/src/TermTranslationHandler.php Form submission handler for TermTranslationHandler::entityFormAlter().
TermXmlAnonTest::$format property core/modules/taxonomy/tests/src/Functional/Rest/TermXmlAnonTest.php The format to use in this test.
TermXmlBasicAuthTest::$format property core/modules/taxonomy/tests/src/Functional/Rest/TermXmlBasicAuthTest.php The format to use in this test.
TermXmlCookieTest::$format property core/modules/taxonomy/tests/src/Functional/Rest/TermXmlCookieTest.php The format to use in this test.
Test::buildConfigurationForm function core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Form constructor.
TestActionConfirmForm class core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php Confirmation form for 'test_action' action.
TestActionConfirmForm.php file core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php
TestActionConfirmForm::getCancelUrl function core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php Returns the route to go to if the user cancels the action.
TestActionConfirmForm::getFormId function core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php Returns a unique string identifying the form.
TestActionConfirmForm::getQuestion function core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php Returns the question to ask the user.
TestActionConfirmForm::submitForm function core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php Form submission handler.
TestAddForm class core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php Test add form.
TestAddForm.php file core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php
TestAddForm::buildInputElement function core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php Builds the element for submitting source field value(s).
TestAddForm::getFormId function core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php Returns a unique string identifying the form.
TestAjaxBlock::blockForm function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php
TestAttributesBlock::blockForm function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php
TestBlockInstantiation::blockForm function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestClass::buildConfigurationForm function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Form constructor.
TestClass::submitConfigurationForm function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Form submission handler.
TestClass::validateConfigurationForm function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Form validation handler.
TestController::format function core/modules/system/tests/modules/content_negotiation_test/src/Controller/TestController.php Returns different responses depending on the request format.
TestDefaultHtmlRouteProvider::getAddFormRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php Gets the add-form route.
TestDifferentDisplays::prepareFormDisplay function core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/TestDifferentDisplays.php Prepares the media type fields for this source in the form display.
TestEntityForm class core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides a test entity form.
TestEntityForm::$moduleHandler property core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php The module handler service.
TestEntityForm::$stringTranslation property core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php The string translation service.
TestEntityFormInjected class core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides a test entity form that uses injection.

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