Search for state

  1. Search 7.x for state
  2. Search 8.9.x for state
  3. Search 10.3.x for state
  4. Search 11.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.
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/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
AjaxPageStateTest::$modules property core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php Modules to install.
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::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.
AliasWhitelist::$state property core/modules/path_alias/src/AliasWhitelist.php The Key/Value Store to use for state.
AutomatedCron::$state property core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php The state key value store.
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.
BrowserTestBase::$preserveGlobalState property core/tests/Drupal/Tests/BrowserTestBase.php
CacheableMetadataCalculationTest::$state property core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php The state service.
CacheableMetadataCalculationTest::$state property core/modules/views/tests/src/Kernel/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.
CKEditor::$state property core/modules/ckeditor/src/Plugin/Editor/CKEditor.php The state key/value store.
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
Connection::$statementClass property core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
Connection::$statementClass property core/lib/Drupal/Core/Database/Connection.php The name of the Statement class for this connection.
Connection::$statementClass property core/modules/mysql/src/Driver/Database/mysql/Connection.php
Connection::$statementClass property core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
Connection::$statementWrapperClass property core/modules/mysql/src/Driver/Database/mysql/Connection.php
Connection::$statementWrapperClass property core/lib/Drupal/Core/Database/Connection.php The name of the StatementWrapper class for this connection.
Connection::$statementWrapperClass property core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
Connection::$statementWrapperClass property core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
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
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
Connection::preprocessStatement function core/lib/Drupal/Core/Database/Connection.php Returns a string SQL statement ready for preparation.
Connection::SQLSTATE_SYNTAX_ERROR constant core/modules/mysql/src/Driver/Database/mysql/Connection.php SQLSTATE error code for "Syntax error or access rule violation".
ConnectionTest::$pdoStatement property core/modules/mysql/tests/src/Unit/ConnectionTest.php A PDO statement prophecy.
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.
ConnectionTest::testPdoStatementClass function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests the deprecation of \Drupal\Core\Database\Connection::$statementClass.
ConnectionTest::testPDOStatementQueryDeprecation function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the deprecation of passing a PDOStatement object to ::query.
ConnectionTest::testStatementDeprecation function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests deprecation of the Statement class.
ConnectionTest::testStatementQueryDeprecation function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the deprecation of passing a statement object to ::query.
ContainerAwareEventDispatcherTest::testInitialState function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContentModeration::getInitialState function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php

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