Search for state
- Search 7.x for state
- Search 9.5.x for state
- Search 10.3.x for state
- Search 11.x for state
- Other projects
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
State | class | core/ |
A value object representing a workflow state. |
state | service | core/ |
Drupal\Core\State\State |
State | class | core/ |
Provides the state system using a key value store. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
EntityStateChangeValidationTest::testInvalidStateWithoutExisting | function | core/ |
Test validation with content that has no initial state or an invalid state. |
EntityStateChangeValidationTest::testInvalidTransition | function | core/ |
Test invalid transitions. |
EntityStateChangeValidationTest::testTransitionAccessValidation | function | core/ |
@dataProvider transitionAccessValidationTestCases |
EntityStateChangeValidationTest::testValidTransition | function | core/ |
Test valid transitions. |
EntityStateChangeValidationTest::transitionAccessValidationTestCases | function | core/ |
Test cases for ::testTransitionAccessValidation. |
EntityTestDefinitionSubscriber::$state | property | core/ |
The state service. |
EntityUnitTestBase::$state | property | core/ |
The state service. |
EntityUpdateAddRevisionDefaultTest::$state | property | core/ |
The state service. |
EntityUpdateAddRevisionTranslationAffectedTest::$state | property | core/ |
The state service. |
EntityUpdateToPublishableTest::$state | property | core/ |
The state service. |
EventSubscriber::$state | property | core/ |
The state key value store. |
EventSubscriber::$state | property | core/ |
The state key value store. |
EventSubscriber::$state | property | core/ |
The Drupal state. |
EventSubscriber::$state | property | core/ |
The key value store. |
ExtensionList::$state | property | core/ |
The state store. |
FieldBlockTest::testStatesFieldBlock | function | core/ |
Tests configuring a field block that uses #states. |
FieldUpdateTest::$state | property | core/ |
The state service. |
FileTestSaveUploadFromForm::$state | property | core/ |
Stores the state storage service. |
FormAjaxException::$formState | property | core/ |
The form state. |
FormAjaxException::getFormState | function | core/ |
Gets the form state. |
FormBuilderTest::formStateResponseProvider | function | core/ |
Provides test data for testHandleFormStateResponse(). |
FormBuilderTest::testHandleFormStateResponse | function | core/ |
Tests the handling of FormStateInterface::$response. |
FormCache::loadCachedFormState | function | core/ |
Loads the cached form state. |
FormCacheTest::$formState | property | core/ |
|
FormCacheTest::$formStateCacheStore | property | core/ |
The expirable key value store used by form state cache. |
FormCacheTest::$preserveGlobalState | property | core/ |
|
FormCacheTest::testLoadCachedFormState | function | core/ |
@covers ::loadCachedFormState[[api-linebreak]] |
FormCacheTest::testLoadCachedFormStateWithFiles | function | core/ |
@covers ::loadCachedFormState[[api-linebreak]] |
FormErrorHandler::setElementErrorsFromFormState | function | core/ |
Stores errors and a list of child element errors directly on each element. |
FormErrorHandlerTest::testSetElementErrorsFromFormState | function | core/ |
@covers ::handleFormErrors[[api-linebreak]] @covers ::setElementErrorsFromFormState[[api-linebreak]] |
FormHelper::processStates | function | core/ |
Adds JavaScript to change the state of an element based on another element. |
FormHelper::processStatesArray | function | core/ |
Helps recursively rewrite #states selectors. |
FormHelper::rewriteStatesSelector | function | core/ |
Rewrites #states selectors in a render element. |
FormHelperTest::testProcessStates | function | core/ |
@covers ::processStates[[api-linebreak]] @dataProvider providerElements |
FormHelperTest::testRewriteStatesSelector | function | core/ |
Tests rewriting the #states selectors. |
FormState | class | core/ |
Stores information about the state of a form. |
FormState.php | file | core/ |
|
FormState::$always_process | property | core/ |
If TRUE and the method is GET, a form_id is not necessary. |
FormState::$anyErrors | property | core/ |
Tracks if any errors have been set on any form. |
FormState::$build_info | property | core/ |
An associative array of information stored by Form API that is necessary to build and rebuild the form from cache when the original context may no longer be available: |
FormState::$buttons | property | core/ |
A list containing copies of all submit and button elements in the form. |
FormState::$cache | property | core/ |
If set to TRUE the original, unprocessed form structure will be cached, which allows the entire form to be rebuilt from cache. A typical form workflow involves two page requests; first, a form is built and rendered for the user to fill in. Then, the… |
FormState::$cleanValueKeys | property | core/ |
An associative array of form value keys to be removed by cleanValues(). |
FormState::$complete_form | property | core/ |
The complete form structure. |
FormState::$errors | property | core/ |
Contains errors for this form. |
FormState::$executed | property | core/ |
If TRUE, the form was submitted and has been processed and executed. |
FormState::$groups | property | core/ |
Contains references to details elements to render them within vertical tabs. |
FormState::$has_file_element | property | core/ |
If TRUE, there is a file element and Form API will set the appropriate 'enctype' HTML attribute on the form. |
FormState::$input | property | core/ |
The array of values as they were submitted by the user. |
FormState::$invalidToken | property | core/ |
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. |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.