Search for id

  1. Search 7.x for id
  2. Search 9.5.x for id
  3. Search 10.3.x for id
  4. Search 11.x for id
  5. Other projects
Title Object type File name Summary
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::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
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
FormCacheTest::testGetCacheValidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache
FormCacheTest::testSetCacheBuildIdMismatch function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::setCache
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 #element_validate callback for #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.
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/FormOperations.php Adds our validation handler recursively on each element of a form.
FormOperations::validateDefaultWorkspace function core/modules/workspaces/src/FormOperations.php Validation handler which sets a validation error for all unsupported forms.
FormState::$invalidToken property core/lib/Drupal/Core/Form/FormState.php If set to TRUE the form will skip calling form element value callbacks,
except for a select list of callbacks provided by Drupal core that are
known to be safe.
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 Ordinarily, a form is only validated once, but there are times when a form
is resubmitted internally and should be validated again. Setting this to
TRUE will force that to happen. This is most likely to occur during Ajax
operations.
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.
FormState::isValidationEnforced function core/lib/Drupal/Core/Form/FormState.php Checks if validation is enforced.
FormState::setInvalidToken function core/lib/Drupal/Core/Form/FormState.php Flags the form state as having or not an invalid token.
FormState::setLimitValidationErrors function core/lib/Drupal/Core/Form/FormState.php Sets the limited validation error sections.
FormState::setValidateHandlers function core/lib/Drupal/Core/Form/FormState.php Sets the validate handlers.

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