| FormInterface.php |
file |
core/lib/Drupal/Core/Form/FormInterface.php |
|
| FormInterface::buildForm |
function |
core/lib/Drupal/Core/Form/FormInterface.php |
Form constructor. |
| FormInterface::getFormId |
function |
core/lib/Drupal/Core/Form/FormInterface.php |
Returns a unique string identifying the form. |
| FormInterface::submitForm |
function |
core/lib/Drupal/Core/Form/FormInterface.php |
Form submission handler. |
| FormInterface::validateForm |
function |
core/lib/Drupal/Core/Form/FormInterface.php |
Form validation handler. |
| FormModeAccessCheck |
class |
core/modules/field_ui/src/Access/FormModeAccessCheck.php |
Defines an access check for entity form mode routes. |
| FormModeAccessCheck.php |
file |
core/modules/field_ui/src/Access/FormModeAccessCheck.php |
|
| FormModeAccessCheck::$entityTypeManager |
property |
core/modules/field_ui/src/Access/FormModeAccessCheck.php |
The entity type manager. |
| FormModeAccessCheck::access |
function |
core/modules/field_ui/src/Access/FormModeAccessCheck.php |
Checks access to the form mode. |
| FormModeAccessCheck::__construct |
function |
core/modules/field_ui/src/Access/FormModeAccessCheck.php |
Creates a new FormModeAccessCheck. |
| FormObjectTest |
class |
core/modules/system/tests/src/Kernel/Form/FormObjectTest.php |
Tests building a form from an object. |
| FormObjectTest |
class |
core/modules/system/tests/src/Functional/Form/FormObjectTest.php |
Tests building a form from an object. |
| FormObjectTest.php |
file |
core/modules/system/tests/src/Kernel/Form/FormObjectTest.php |
|
| FormObjectTest.php |
file |
core/modules/system/tests/src/Functional/Form/FormObjectTest.php |
|
| FormObjectTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Form/FormObjectTest.php |
The theme to install as the default for testing. |
| FormObjectTest::$modules |
property |
core/modules/system/tests/src/Kernel/Form/FormObjectTest.php |
Modules to install. |
| FormObjectTest::$modules |
property |
core/modules/system/tests/src/Functional/Form/FormObjectTest.php |
Modules to install. |
| FormObjectTest::setUp |
function |
core/modules/system/tests/src/Kernel/Form/FormObjectTest.php |
|
| FormObjectTest::testObjectFormCallback |
function |
core/modules/system/tests/src/Functional/Form/FormObjectTest.php |
Tests using an object as the form callback. |
| FormOperations |
class |
core/modules/workspaces/src/Hook/FormOperations.php |
Defines a class for reacting to form operations. |
| FormOperations.php |
file |
core/modules/workspaces/src/Hook/FormOperations.php |
|
| FormOperations::addWorkspaceValidation |
function |
core/modules/workspaces/src/Hook/FormOperations.php |
Adds our validation handler recursively on each element of a form. |
| FormOperations::formAlter |
function |
core/modules/workspaces/src/Hook/FormOperations.php |
Implements hook_form_alter(). |
| FormOperations::setAjaxWorkspace |
function |
core/modules/workspaces/src/Hook/FormOperations.php |
Ensures that the current workspace is persisted across AJAX interactions. |
| FormOperations::validateDefaultWorkspace |
function |
core/modules/workspaces/src/Hook/FormOperations.php |
Validation handler which sets a validation error for all unsupported forms. |
| FormOperations::__construct |
function |
core/modules/workspaces/src/Hook/FormOperations.php |
|
| FormPreprocess |
class |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Initial preprocess callbacks for the form system. |
| FormPreprocess.php |
file |
core/lib/Drupal/Core/Form/FormPreprocess.php |
|
| FormPreprocess::preprocessCheckboxes |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Prepares variables for checkboxes templates. |
| FormPreprocess::preprocessDetails |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Prepares variables for details element templates. |
| FormPreprocess::preprocessFieldset |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Prepares variables for fieldset element templates. |
| FormPreprocess::preprocessForm |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Prepares variables for form templates. |
| FormPreprocess::preprocessFormElement |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Returns HTML for a form element. |
| FormPreprocess::preprocessFormElementLabel |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Prepares variables for form label templates. |
| FormPreprocess::preprocessInput |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Prepares variables for input templates. |
| FormPreprocess::preprocessRadios |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Prepares variables for radios templates. |
| FormPreprocess::preprocessSelect |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Prepares variables for select element templates. |
| FormPreprocess::preprocessTextarea |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Prepares variables for textarea templates. |
| FormPreprocess::preprocessVerticalTabs |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Prepares variables for vertical tabs templates. |
| FormRouteEnhancer |
class |
core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php |
Enhancer to add a wrapping controller for _form routes. |
| FormRouteEnhancer.php |
file |
core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php |
|
| FormRouteEnhancer::applies |
function |
core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php |
Returns whether the enhancer runs on the current route. |
| FormRouteEnhancer::enhance |
function |
core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php |
Updates the defaults for a route definition based on the request. |
| FormState |
class |
core/lib/Drupal/Core/Form/FormState.php |
Stores information about the state of a form. |
| FormState.php |
file |
core/lib/Drupal/Core/Form/FormState.php |
|
| FormState::$always_process |
property |
core/lib/Drupal/Core/Form/FormState.php |
If TRUE and the method is GET, a form_id is not necessary. |
| FormState::$anyErrors |
property |
core/lib/Drupal/Core/Form/FormState.php |
Tracks if any errors have been set on any form. |
| FormState::$build_info |
property |
core/lib/Drupal/Core/Form/FormState.php |
An associative array of information stored by Form API. |
| FormState::$buttons |
property |
core/lib/Drupal/Core/Form/FormState.php |
A list containing copies of all submit and button elements in the form. |
| FormState::$cache |
property |
core/lib/Drupal/Core/Form/FormState.php |
Determines if the unprocessed form structure is cached. |