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
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
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
@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
@covers ::hasFormClass
@dataProvider providerGetFormClass
PoHeader::$pluralForms property core/lib/Drupal/Component/Gettext/PoHeader.php Formula for the plural form.
PoHeader::getPluralForms function core/lib/Drupal/Component/Gettext/PoHeader.php Gets the plural form.
PoHeader::parsePluralForms function core/lib/Drupal/Component/Gettext/PoHeader.php Parses a Plural-Forms entry from a Gettext Portable Object file header.
ProcessingTest::testDrupalFormSubmitInBatch function core/modules/system/tests/src/Functional/Batch/ProcessingTest.php Tests form submission during a batch operation.
ProfileTranslationHandler::entityFormSave function core/modules/user/src/ProfileTranslationHandler.php Form submission handler for ProfileTranslationHandler::entityFormAlter().
SearchHooks::formSearchBlockFormAlter function core/modules/search/src/Hook/SearchHooks.php Implements hook_form_FORM_ID_alter() for the search_block_form form.
SkipOnEmptyTest::testMultipleTransforms function core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php Tests repeated execution of a process plugin can reset the pipeline stoppage correctly.
StateValuesCleanAdvancedTest::testFormStateValuesCleanAdvanced function core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php Tests \Drupal\Core\Form\FormState::cleanValues().
StateValuesCleanTest::testFormStateValuesClean function core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php Tests \Drupal\Core\Form\FormState::cleanValues().
StorageTest::testCachedFormStorageValidation function core/modules/system/tests/src/Functional/Form/StorageTest.php Tests updating cached form storage during form validation.
StubTestTrait::performStubTest function core/modules/migrate_drupal/src/Tests/StubTestTrait.php Tests that creating a stub of an entity type results in a valid entity.
SubformState class core/lib/Drupal/Core/Form/SubformState.php Stores information about the state of a subform.
SubformState.php file core/lib/Drupal/Core/Form/SubformState.php
SubformState::$parentForm property core/lib/Drupal/Core/Form/SubformState.php The parent form.
SubformState::$subform property core/lib/Drupal/Core/Form/SubformState.php The subform.
SubformState::createForSubform function core/lib/Drupal/Core/Form/SubformState.php Creates a new instance for a subform.
SubformState::getCompleteFormState function core/lib/Drupal/Core/Form/SubformState.php Gets the complete form state.
SubformState::getFormObject function core/lib/Drupal/Core/Form/SubformState.php Returns the form object that is responsible for building this form.
SubformState::getLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php Retrieves the limited validation error sections.
SubformState::getParents function core/lib/Drupal/Core/Form/SubformState.php Gets the subform's parents relative to its parent form.
SubformState::getValues function core/lib/Drupal/Core/Form/SubformState.php Implements \Drupal\Core\Form\FormStateInterface::getValues()
SubformState::setErrorByName function core/lib/Drupal/Core/Form/SubformState.php Files an error against a form element.
SubformState::setLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php Sets the limited validation error sections.
SubformState::__construct function core/lib/Drupal/Core/Form/SubformState.php Constructs a new instance.
SubformStateInterface interface core/lib/Drupal/Core/Form/SubformStateInterface.php Stores information about the state of a subform.
SubformStateInterface.php file core/lib/Drupal/Core/Form/SubformStateInterface.php
SubformStateInterface::getCompleteFormState function core/lib/Drupal/Core/Form/SubformStateInterface.php Gets the complete form state.

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