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
FormBuilder::setInvalidTokenError function core/lib/Drupal/Core/Form/FormBuilder.php
FormBuilder::validateForm function core/lib/Drupal/Core/Form/FormBuilder.php
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[[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
FormDefaultHandlersTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
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
FormState::getValidateHandlers function core/lib/Drupal/Core/Form/FormState.php
FormState::hasInvalidToken function core/lib/Drupal/Core/Form/FormState.php
FormState::isValidationComplete function core/lib/Drupal/Core/Form/FormState.php
FormState::isValidationEnforced function core/lib/Drupal/Core/Form/FormState.php
FormState::setInvalidToken function core/lib/Drupal/Core/Form/FormState.php
FormState::setLimitValidationErrors function core/lib/Drupal/Core/Form/FormState.php
FormState::setValidateHandlers function core/lib/Drupal/Core/Form/FormState.php

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