Search for state

  1. Search 7.x for state
  2. Search 9.5.x for state
  3. Search 8.9.x for state
  4. Search 10.3.x for state
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
State class core/modules/workflows/src/State.php A value object representing a workflow state.
state service core/core.services.yml Drupal\Core\State\State
State class core/lib/Drupal/Core/State/State.php Provides the state system using a key value store.

All search results

Title Object type File name Summary
$install_state global core/globals.api.php Store settings and profile information during installation process.
AddFormBase::getMediaLibraryState function core/modules/media_library/src/Form/AddFormBase.php Get the media library state from the form state.
AjaxPageState class core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php Expands the compressed ajax_page_state query parameter into an array.
AjaxPageState.php file core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php
AjaxPageState::handle function core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php
AjaxPageState::parseAjaxPageState function core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php Parse the ajax_page_state variable in the request.
AjaxPageState::__construct function core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php Constructs a new AjaxPageState instance.
AjaxPageStateTest class core/tests/Drupal/Tests/Core/StackMiddleware/AjaxPageStateTest.php Tests Drupal\Core\StackMiddleware\AjaxPageState.
AjaxPageStateTest class core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php Performs tests for the effects of the ajax_page_state query parameter.
AjaxPageStateTest.php file core/tests/Drupal/Tests/Core/StackMiddleware/AjaxPageStateTest.php
AjaxPageStateTest.php file core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php
AjaxPageStateTest::$adminUser property core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php User account with all available permissions.
AjaxPageStateTest::$defaultTheme property core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php The theme to install as the default for testing.
AjaxPageStateTest::$modules property core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php Modules to install.
AjaxPageStateTest::providerHandle function core/tests/Drupal/Tests/Core/StackMiddleware/AjaxPageStateTest.php Provides data for testHandle().
AjaxPageStateTest::setUp function core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php
AjaxPageStateTest::testDrupalSettingsIsNotLoaded function core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php Give ajax_page_state[libraries]=core/drupalSettings to exclude the library.
AjaxPageStateTest::testHandle function core/tests/Drupal/Tests/Core/StackMiddleware/AjaxPageStateTest.php Tests that the query and request libraries are merged.
AjaxPageStateTest::testLibrariesAvailable function core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php Default functionality without the param ajax_page_state[libraries].
AjaxPageStateTest::testMultipleLibrariesAreNotLoaded function core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php Tests if multiple libraries can be excluded.
AliasPrefixList::$state property core/modules/path_alias/src/AliasPrefixList.php The Key/Value Store to use for state.
AssetQueryString::STATE_KEY constant core/lib/Drupal/Core/Asset/AssetQueryString.php The key used for state.
BasicAuthTestController::modifyState function core/modules/basic_auth/tests/modules/basic_auth_test/src/BasicAuthTestController.php
BasicAuthTestController::readState function core/modules/basic_auth/tests/modules/basic_auth_test/src/BasicAuthTestController.php
BrokenInboundPathProcessor::$state property core/modules/system/tests/modules/update_script_test/src/PathProcessor/BrokenInboundPathProcessor.php The state.
CacheableMetadataCalculationTest::$state property core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php The state service.
CacheableMetadataCalculationTest::$state property core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php The state service.
CacheableMetadataCalculationTest::resetState function core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php Resets the state so we are ready for a new test.
ClientConnectionTransactionState.php file core/lib/Drupal/Core/Database/Transaction/ClientConnectionTransactionState.php
CommentStatistics::$state property core/modules/comment/src/CommentStatistics.php The state service.
CommentStatisticsUnitTest::$statement property core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Mock statement.
ComplexTestTypeStateForm class core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeStateForm.php Form to configure the complex test workflow states.
ComplexTestTypeStateForm.php file core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeStateForm.php
ComplexTestTypeStateForm::buildConfigurationForm function core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeStateForm.php Form constructor.
Connection::$statementClass property core/tests/fixtures/database_drivers/custom/fake/Connection.php
Connection::$statementWrapperClass property core/tests/fixtures/database_drivers/custom/fake/Connection.php The name of the StatementWrapper class for this connection.
Connection::$statementWrapperClass property core/modules/mysql/src/Driver/Database/mysql/Connection.php The name of the StatementWrapper class for this connection.
Connection::$statementWrapperClass property core/modules/sqlite/src/Driver/Database/sqlite/Connection.php The name of the StatementWrapper class for this connection.
Connection::$statementWrapperClass property core/modules/mysqli/src/Driver/Database/mysqli/Connection.php The name of the StatementWrapper class for this connection.
Connection::$statementWrapperClass property core/lib/Drupal/Core/Database/Connection.php The name of the StatementWrapper class for this connection.
Connection::$statementWrapperClass property core/modules/pgsql/src/Driver/Database/pgsql/Connection.php The name of the StatementWrapper class for this connection.
Connection::getSQLState function core/lib/Drupal/Core/Database/Connection.php Extracts the SQLSTATE error from a PDOException.
Connection::prepareStatement function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Returns a prepared statement given a SQL string.
Connection::prepareStatement function core/lib/Drupal/Core/Database/Connection.php Returns a prepared statement given a SQL string.
Connection::prepareStatement function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Returns a prepared statement given a SQL string.
Connection::preprocessStatement function core/lib/Drupal/Core/Database/Connection.php Returns a string SQL statement ready for preparation.
ConnectionTest::testMultipleStatements function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Ensure that you cannot prepare multiple statements.
ConnectionTest::testMultipleStatementsForNewPhp function core/modules/mysql/tests/src/Kernel/mysql/ConnectionTest.php Ensure that you cannot execute multiple statements on MySQL.
ConnectionTest::testMultipleStatementsQuery function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Ensure that you cannot execute multiple statements in a query.
ContentModeration::getInitialState function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php Gets the initial state for the workflow.

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