Search for forms

  1. Search 7.x for forms
  2. Search 9.5.x for forms
  3. Search 8.9.x for forms
  4. Search 10.3.x for forms
  5. Other projects
Title Object type File name Summary
MenuParentFormSelector::$menuLinkTree property core/lib/Drupal/Core/Menu/MenuParentFormSelector.php The menu link tree service.
MenuParentFormSelector::getMenuOptions function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Gets a list of menu names for use as options.
MenuParentFormSelector::getParentDepthLimit function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Returns the maximum depth of the possible parents of the menu link.
MenuParentFormSelector::getParentSelectOptions function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Gets the options for a select element to choose a menu and parent.
MenuParentFormSelector::parentSelectElement function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Gets a form element to choose a menu and parent.
MenuParentFormSelector::parentSelectOptionsTreeWalk function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Iterates over all items in the tree to prepare the parents select options.
MenuParentFormSelector::__construct function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Constructs a \Drupal\Core\Menu\MenuParentFormSelector.
MenuParentFormSelectorInterface interface core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Defines an interface for menu selector form elements and menu link options.
MenuParentFormSelectorInterface.php file core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php
MenuParentFormSelectorInterface::getParentSelectOptions function core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Gets the options for a select element to choose a menu and parent.
MenuParentFormSelectorInterface::parentSelectElement function core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Gets a form element to choose a menu and parent.
MigrateUpgradeFormStepsTest class core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php Tests the flow of the Migrate Drupal UI form.
MigrateUpgradeFormStepsTest.php file core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php
MigrateUpgradeFormStepsTest::$defaultTheme property core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php The theme to install as the default for testing.
MigrateUpgradeFormStepsTest::$modules property core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php Modules to install.
MigrateUpgradeFormStepsTest::assertFirstForm function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php Helper to test that a path goes to the Overview form.
MigrateUpgradeFormStepsTest::getSourceBasePath function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php
MigrateUpgradeFormStepsTest::setUp function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php
MigrateUpgradeFormStepsTest::testMigrateUpgradeReviewPage function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php Tests the flow of the Migrate Drupal UI form.
ModerationFormTest::testModerationFormSetsRevisionAuthor function core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php Tests the revision author is updated when the moderation form is used.
ModerationStateNodeTest::testFormSaveDestination function core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php Tests edit form destinations.
ModulesListFormWebTest::testModulesListFormStatusMessage function core/modules/system/tests/src/Functional/Form/ModulesListFormWebTest.php Tests the status message when enabling one or more modules.
MultipleBlockFormTest::testMultipleForms function core/tests/Drupal/KernelTests/Core/Block/MultipleBlockFormTest.php Tests that blocks can have multiple forms.
NodeFormSaveChangedTimeTest class core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php Tests updating the changed time after API and FORM entity save.
NodeFormSaveChangedTimeTest.php file core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
NodeFormSaveChangedTimeTest::$authorUser property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php A user with permissions to create and edit articles.
NodeFormSaveChangedTimeTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php The theme to install as the default for testing.
NodeFormSaveChangedTimeTest::$modules property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php Modules to install.
NodeFormSaveChangedTimeTest::setUp function core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
NodeFormSaveChangedTimeTest::testChangedTimeAfterSaveWithoutChanges function core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php Tests the changed time after API and FORM save without changes.
NodeHooks1::formSystemThemesAdminFormAlter function core/modules/node/src/Hook/NodeHooks1.php Implements hook_form_FORM_ID_alter().
NodeRevisionsUiTest::testNodeFormSaveWithoutRevision function core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php Checks that unchecking 'Create new revision' works when editing a node.
NodeTranslationUITest::getFormSubmitSuffix function core/modules/node/tests/src/Functional/NodeTranslationUITest.php Returns appropriate submit button suffix based on translatability.
NonAbstractFormStateDecoratorBase class core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Provides a non-abstract version of the class under test.
NonAbstractFormStateDecoratorBase::__construct function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Creates a new instance.
Page::$parentFormSelector property core/modules/views/src/Plugin/views/display/Page.php The parent form selector service.
PagerPluginBase::exposedFormSubmit function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php Handles submission of the exposed form.
PhpassHooks::formSystemModulesUninstallConfirmFormAlter function core/modules/phpass/src/Hook/PhpassHooks.php Implements hook_form_FORM_ID_alter() for system_modules_uninstall_confirm_form.
PluginWithFormsInterface interface core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php Provides an interface for plugins which have forms.
PluginWithFormsInterface.php file core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php
PluginWithFormsInterface::getFormClass function core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php Gets the form class for the given operation.
PluginWithFormsInterface::hasFormClass function core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php Gets whether the plugin has a form class for the given operation.
PluginWithFormsTrait trait core/lib/Drupal/Core/Plugin/PluginWithFormsTrait.php Provides a trait with typical behavior for plugins which have forms.
PluginWithFormsTrait.php file core/lib/Drupal/Core/Plugin/PluginWithFormsTrait.php
PluginWithFormsTrait::getFormClass function core/lib/Drupal/Core/Plugin/PluginWithFormsTrait.php Implements \Drupal\Core\Plugin\PluginWithFormsInterface::getFormClass().
PluginWithFormsTrait::hasFormClass function core/lib/Drupal/Core/Plugin/PluginWithFormsTrait.php Implements \Drupal\Core\Plugin\PluginWithFormsInterface::hasFormClass().
PluginWithFormsTraitTest class core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php @coversDefaultClass \Drupal\Core\Plugin\PluginWithFormsTrait[[api-linebreak]]
@group Plugin
PluginWithFormsTraitTest.php file core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php
PluginWithFormsTraitTest::providerGetFormClass function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php
PluginWithFormsTraitTest::testGetFormClass function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php @covers ::getFormClass[[api-linebreak]]
@covers ::hasFormClass[[api-linebreak]]
@dataProvider providerGetFormClass

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