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 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
ContentModerationWorkflowConfigTest::testDeletingStateViaConfiguration function core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php Tests deleting a state via config import.
ContentTranslationHandlerTest::$state property core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php The state service.
content_moderation.changing_states.html.twig file core/modules/content_moderation/help_topics/content_moderation.changing_states.html.twig ---
label: 'Moving content between workflow states'
related:
- workflows.overview
- content_moderation.configuring_workflows
- core.content_structure
---
{% set workflows_overview_topic =…
content_moderation.state_transition_validation service core/modules/content_moderation/content_moderation.services.yml Drupal\content_moderation\StateTransitionValidation
ControllerBase::$stateService property core/lib/Drupal/Core/Controller/ControllerBase.php The state service.
ControllerBase::state function core/lib/Drupal/Core/Controller/ControllerBase.php Returns the state storage service.
Cron::$state property core/lib/Drupal/Core/Cron.php The state service.
CronForm::$state property core/modules/system/src/Form/CronForm.php Stores the state storage service.
CronTest::$state property core/tests/Drupal/Tests/Core/CronTest.php The current state of the test in memory.
CronTest::resetTestingState function core/tests/Drupal/Tests/Core/CronTest.php Resets the testing state.
CssCollectionOptimizer::$state property core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php The state key/value store.
CSS_STATE constant core/includes/common.inc The default weight for CSS rules that style states and are not included with components.
Database::RETURN_STATEMENT constant core/lib/Drupal/Core/Database/Database.php Flag to indicate a query call should return the prepared statement.
DatabaseEventSubscriber::$countStatementEnds property core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php A counter of finished statement executions.
DatabaseEventSubscriber::$countStatementFailures property core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php A counter of failed statement executions.
DatabaseEventSubscriber::$countStatementStarts property core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php A counter of started statement executions.
DatabaseEventSubscriber::$statementIdsInExecution property core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php A map of statements being executed.
DatabaseEventSubscriber::onStatementExecutionEnd function core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php Subscribes to a statement execution finished event.
DatabaseEventSubscriber::onStatementExecutionFailure function core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php Subscribes to a statement execution failure event.
DatabaseEventSubscriber::onStatementExecutionStart function core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php Subscribes to a statement execution started event.
DatabaseEventTest::testStatementExecutionEvents function core/tests/Drupal/KernelTests/Core/Database/DatabaseEventTest.php Tests statement execution events.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnExecution function core/modules/pgsql/tests/src/Kernel/pgsql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnExecution function core/modules/sqlite/tests/src/Kernel/sqlite/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnExecution function core/modules/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparation function core/modules/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exceptions on preparation.
database_statement_monitoring_test.info.yml file core/modules/system/tests/modules/database_statement_monitoring_test/database_statement_monitoring_test.info.yml core/modules/system/tests/modules/database_statement_monitoring_test/database_statement_monitoring_test.info.yml
DateRangeFieldTest::testFromToSeparatorState function core/modules/datetime_range/tests/src/FunctionalJavascript/DateRangeFieldTest.php Tests the conditional visibility of the 'Date separator' field.
DbUpdateController::$state property core/modules/system/src/Controller/DbUpdateController.php The state service.
DefaultModerationStateTest class core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php Tests setting a custom default moderation state.
DefaultModerationStateTest.php file core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php
DefaultModerationStateTest::$defaultTheme property core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php
DefaultModerationStateTest::setUp function core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php
DefaultModerationStateTest::testDeleteDefaultStateAccess function core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php Tests access to deleting the default state.
DefaultModerationStateTest::testPublishedDefaultState function core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php Tests a workflow with a default moderation state set.
DefaultRevisionStateTest class core/modules/content_moderation/tests/src/Kernel/DefaultRevisionStateTest.php Tests the correct default revision is set.
DefaultRevisionStateTest.php file core/modules/content_moderation/tests/src/Kernel/DefaultRevisionStateTest.php
DefaultRevisionStateTest::$entityTypeManager property core/modules/content_moderation/tests/src/Kernel/DefaultRevisionStateTest.php
DefaultRevisionStateTest::$modules property core/modules/content_moderation/tests/src/Kernel/DefaultRevisionStateTest.php
DefaultRevisionStateTest::assertModerationState function core/modules/content_moderation/tests/src/Kernel/DefaultRevisionStateTest.php Verifies the expected moderation state revision exists.
DefaultRevisionStateTest::setUp function core/modules/content_moderation/tests/src/Kernel/DefaultRevisionStateTest.php
DefaultRevisionStateTest::testMultilingual function core/modules/content_moderation/tests/src/Kernel/DefaultRevisionStateTest.php Tests a translatable Node.
DeletedFieldsRepository::$state property core/lib/Drupal/Core/Field/DeletedFieldsRepository.php The state key/value store.
DeletedWorkspaceConstraintValidator::$state property core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php The state service.
Display::getFormState function core/modules/views_ui/src/Form/Ajax/Display.php @todo Remove this and switch all usage of $form_state->get('section') to
$form_state->get('type').
DisplayExtenderTest::$testState property core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest.php Stores some state booleans to be sure a certain method got called.
DriverSpecificTransactionTestBase::executeDDLStatement function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Executes a DDL statement.
DriverSpecificTransactionTestBase::testTransactionWithDdlStatement function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests the compatibility of transactions with DDL statements.
Drupal::state function core/lib/Drupal.php Returns the state storage service.
DrupalSqlBaseTest::$state property core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Mock StateInterface.
DrupalTest::testState function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the state() method.

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