Search for state

  1. Search 7.x for state
  2. Search 9.5.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::testHtml5ShivIsNotLoaded function core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php Give ajax_page_state[libraries]=core/html5shiv 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 Test if multiple libraries can be excluded.
AliasWhitelist::$state property core/lib/Drupal/Core/Path/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/lib/Drupal/Core/Database/Connection.php The name of the Statement class for this connection.
Connection::getSQLState function core/lib/Drupal/Core/Database/Connection.php Extracts the SQLSTATE error from the PDOException.
Connection::SQLSTATE_SYNTAX_ERROR constant core/lib/Drupal/Core/Database/Driver/mysql/Connection.php SQLSTATE error code for "Syntax error or access rule violation".
ConnectionTest::testMultipleStatements function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Ensure that you cannot execute multiple statements.
ConnectionTest::testMultipleStatementsForNewPhp function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Ensure that you cannot execute multiple statements on MySQL.
ContainerAwareEventDispatcherTest::testInitialState function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContentModeration::getInitialState function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php
ContentModeration::getState function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php
ContentModeration::workflowStateHasData function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php
ContentModerationInterface::getInitialState function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php
ContentModerationState class core/modules/content_moderation/src/ContentModerationState.php A value object representing a workflow state for content moderation.
ContentModerationState class core/modules/content_moderation/src/Entity/ContentModerationState.php Defines the Content moderation state entity.
ContentModerationState.php file core/modules/content_moderation/src/Entity/ContentModerationState.php
ContentModerationState.php file core/modules/content_moderation/src/ContentModerationState.php
ContentModerationState::$defaultRevision property core/modules/content_moderation/src/ContentModerationState.php If entities should be the default revision if in this state.
ContentModerationState::$published property core/modules/content_moderation/src/ContentModerationState.php If entities should be published if in this state.
ContentModerationState::$state property core/modules/content_moderation/src/ContentModerationState.php The vanilla state object from the Workflow module.
ContentModerationState::baseFieldDefinitions function core/modules/content_moderation/src/Entity/ContentModerationState.php
ContentModerationState::canTransitionTo function core/modules/content_moderation/src/ContentModerationState.php
ContentModerationState::getCurrentUserId function core/modules/content_moderation/src/Entity/ContentModerationState.php Default value callback for the 'uid' base field definition.
ContentModerationState::getFieldsToSkipFromTranslationChangesCheck function core/modules/content_moderation/src/Entity/ContentModerationState.php
ContentModerationState::getTransitions function core/modules/content_moderation/src/ContentModerationState.php
ContentModerationState::getTransitionTo function core/modules/content_moderation/src/ContentModerationState.php
ContentModerationState::id function core/modules/content_moderation/src/ContentModerationState.php

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