Search for forms

  1. Search 7.x for forms
  2. Search 9.5.x for forms
  3. Search 10.3.x for forms
  4. Search 11.x for forms
  5. Other projects
Title Object type File name Summary
MediaSource::$forms property core/modules/media/src/Annotation/MediaSource.php The classes used to define media source-specific forms.
MediaTypeForm::getSourceSubFormState function core/modules/media/src/MediaTypeForm.php Gets subform state for the media source configuration subform.
MenuParentFormSelector class core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Default implementation of the menu parent form selector service.
MenuParentFormSelector.php file core/lib/Drupal/Core/Menu/MenuParentFormSelector.php
MenuParentFormSelector::$deprecatedProperties property core/lib/Drupal/Core/Menu/MenuParentFormSelector.php
MenuParentFormSelector::$entityTypeManager property core/lib/Drupal/Core/Menu/MenuParentFormSelector.php The entity type manager service.
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 enable.
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.
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 An 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 enable.
NodeFormSaveChangedTimeTest::setUp function core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
NodeFormSaveChangedTimeTest::testChangedTimeAfterSaveWithoutChanges function core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php Test the changed time after API and FORM save without changes.
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.
PagerPluginBase::exposedFormSubmit function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php
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
PluginWithFormsTrait::hasFormClass function core/lib/Drupal/Core/Plugin/PluginWithFormsTrait.php
PluginWithFormsTraitTest class core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php @coversDefaultClass \Drupal\Core\Plugin\PluginWithFormsTrait
@group Plugin
PluginWithFormsTraitTest.php file core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php

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