Search for id

  1. Search 7.x for id
  2. Search 9.5.x for id
  3. Search 8.9.x for id
  4. Search 10.3.x for id
  5. Other projects
Title Object type File name Summary
FormBuilder::executeValidateHandlers function core/lib/Drupal/Core/Form/FormBuilder.php Executes custom validation handlers for a given form.
FormBuilder::getFormId function core/lib/Drupal/Core/Form/FormBuilder.php Determines the ID of a form.
FormBuilder::setInvalidTokenError function core/lib/Drupal/Core/Form/FormBuilder.php Sets a form_token error on the given form state.
FormBuilder::validateForm function core/lib/Drupal/Core/Form/FormBuilder.php Validates user-submitted form data in the $form_state.
FormBuilderInterface::getFormId function core/lib/Drupal/Core/Form/FormBuilderInterface.php Determines the ID of a form.
FormBuilderTest::formStateResponseProvider function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Provides test data for testHandleFormStateResponse().
FormBuilderTest::providerTestBuildFormWithTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for ::testBuildFormWithTriggeringElement().
FormBuilderTest::providerTestChildAccessInheritance function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for testChildAccessInheritance.
FormBuilderTest::providerTestFormTokenCacheability function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for testFormTokenCacheability.
FormBuilderTest::providerTestInvalidToken function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
FormBuilderTest::providerTestValueCallableIsSafe function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
FormBuilderTest::testGetFormIdWithBaseForm function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a base form object.
FormBuilderTest::testGetFormIdWithClassName function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a class name form ID.
FormBuilderTest::testGetFormIdWithInjectedClassName function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with an injected class name form ID.
FormBuilderTest::testGetFormIdWithNonFormClass function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::getFormId[[api-linebreak]]
FormBuilderTest::testGetFormIdWithObject function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a form object.
FormBuilderTest::testGetFormIdWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a string based form ID.
FormBuilderTest::testInvalidToken function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::doBuildForm[[api-linebreak]]
FormBuilderTest::testUniqueElementHtmlId function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that HTML IDs are unique between 2 forms with the same element names.
FormBuilderTest::testUniqueHtmlId function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that HTML IDs are unique when rebuilding a form with errors.
FormCacheTest::$formBuildId property core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
FormCacheTest::testGetCacheInvalidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache[[api-linebreak]]
FormCacheTest::testGetCacheValidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache[[api-linebreak]]
FormCacheTest::testSetCacheBuildIdMismatch function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::setCache[[api-linebreak]]
FormController::getFormId function core/modules/system/tests/modules/condition_test/src/FormController.php Returns a unique string identifying the form.
FormController::validateForm function core/modules/system/tests/modules/condition_test/src/FormController.php Implements \Drupal\Core\Form\FormInterface::validateForm().
FormDefaultHandlersTest::customValidateForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
FormDefaultHandlersTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Returns a unique string identifying the form.
FormDefaultHandlersTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Form validation handler.
FormElement::validatePattern function core/lib/Drupal/Core/Render/Element/FormElement.php Render API callback: Handles the #pattern form element property..
FormElementBase::validatePattern function core/lib/Drupal/Core/Render/Element/FormElementBase.php Render API callback: Handles the #pattern form element property..
FormElementHelperTest::getElementByNameProvider function core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php Provides test data.
FormElementHelperTest::getElementTitleProvider function core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php Provides test data.
FormElementMaxlengthTest::getFormId function core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php Returns a unique string identifying the form.
FormElementMaxlengthTest::validateForm function core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php Form validation handler.
FormGroupingElementsTest::testVerticalTabValidationVisibility function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Confirms tabs containing a field with a validation error are open.
FormHelperTest::providerElements function core/tests/Drupal/Tests/Core/Form/FormHelperTest.php Provides a list of elements to test.
FormInterface::getFormId function core/lib/Drupal/Core/Form/FormInterface.php Returns a unique string identifying the form.
FormInterface::validateForm function core/lib/Drupal/Core/Form/FormInterface.php Form validation handler.
FormOperations::addWorkspaceValidation function core/modules/workspaces/src/Hook/FormOperations.php Adds our validation handler recursively on each element of a form.
FormOperations::validateDefaultWorkspace function core/modules/workspaces/src/Hook/FormOperations.php Validation handler which sets a validation error for all unsupported forms.
FormState::$invalidToken property core/lib/Drupal/Core/Form/FormState.php Determines if only safe element value callbacks are called.
FormState::$limit_validation_errors property core/lib/Drupal/Core/Form/FormState.php Stores which errors should be limited during validation.
FormState::$must_validate property core/lib/Drupal/Core/Form/FormState.php Indicates if a validation will be forced.
FormState::$validate_handlers property core/lib/Drupal/Core/Form/FormState.php Stores the gathered validation handlers.
FormState::$validation_complete property core/lib/Drupal/Core/Form/FormState.php Tracks if the form has finished validation.
FormState::getLimitValidationErrors function core/lib/Drupal/Core/Form/FormState.php Retrieves the limited validation error sections.
FormState::getValidateHandlers function core/lib/Drupal/Core/Form/FormState.php Gets the validate handlers.
FormState::hasInvalidToken function core/lib/Drupal/Core/Form/FormState.php Determines if the form has an invalid token.
FormState::isValidationComplete function core/lib/Drupal/Core/Form/FormState.php Determines if validation has been completed.

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