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
TestStateBasedSectionStorage::getRedirectUrl function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Gets the URL used when redirecting away from the Layout Builder UI.
TestStateBasedSectionStorage::getSectionList function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Gets the section list.
TestStateBasedSectionStorage::getSectionListFromId function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::getSections function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Gets the layout sections.
TestStateBasedSectionStorage::getStorageId function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Returns an identifier for this storage.
TestStateBasedSectionStorage::isApplicable function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Determines if this section storage is applicable for the current contexts.
TestStateBasedSectionStorage::label function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Gets the label for the object using the sections.
TestStateBasedSectionStorage::save function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Saves the sections.
TestStatementInterface interface core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php Creates StatementInterface for testing.
TestSubscriber::$state property core/modules/package_manager/tests/modules/package_manager_test_validation/src/EventSubscriber/TestSubscriber.php The state service.
TestSubscriber::getStateKey function core/modules/package_manager/tests/modules/package_manager_test_validation/src/EventSubscriber/TestSubscriber.php Computes the state key to use for a given event class.
TestSubscriber::STATE_KEY constant core/modules/package_manager/tests/modules/package_manager_test_validation/src/EventSubscriber/TestSubscriber.php The key to use store the test results.
TestSystemLoggerChannel::$state property core/modules/system/tests/modules/advisory_feed_test/src/TestSystemLoggerChannel.php The state service.
TestToolkit::$state property core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php The state service.
TestType::getRequiredStates function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/TestType.php Gets the required states of workflow type.
ThemeInfoTest::$state property core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php The state service used in this test.
TimestampFormatter::buildStates function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Builds the #states key for form elements.
ToolbarIntegrationTest::waitAndAssertAriaPressedState function core/modules/toolbar/tests/src/FunctionalJavascript/ToolbarIntegrationTest.php Asserts that an element's `aria-pressed` attribute matches expected state.
ToolbarStoredStateTest class core/modules/toolbar/tests/src/FunctionalJavascript/ToolbarStoredStateTest.php Tests the sessionStorage state set by the toolbar.
ToolbarStoredStateTest.php file core/modules/toolbar/tests/src/FunctionalJavascript/ToolbarStoredStateTest.php
ToolbarStoredStateTest::$defaultTheme property core/modules/toolbar/tests/src/FunctionalJavascript/ToolbarStoredStateTest.php The theme to install as the default for testing.
ToolbarStoredStateTest::$modules property core/modules/toolbar/tests/src/FunctionalJavascript/ToolbarStoredStateTest.php Modules to install.
ToolbarStoredStateTest::testToolbarStoredState function core/modules/toolbar/tests/src/FunctionalJavascript/ToolbarStoredStateTest.php Tests different states of the toolbar.
TransactionManagerBase::$connectionTransactionState property core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php The state of the underlying client connection transaction.
TransactionManagerBase::getConnectionTransactionState function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Gets the state of the client connection transaction.
TransactionManagerBase::setConnectionTransactionState function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Sets the state of the client connection transaction.
TransactionTest::executeDDLStatement function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Executes a DDL statement.
TransactionTest::testRollbackAfterDdlStatementForNonTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests rollback after a DDL statement when no transactional DDL supported.
TransactionTest::testTransactionWithDdlStatement function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests the compatibility of transactions with DDL statements.
Transition::$fromStateIds property core/modules/workflows/src/Transition.php The transition's from state IDs.
Transition::$toStateId property core/modules/workflows/src/Transition.php The transition's to state ID.
TranslateFormBase::$state property core/modules/locale/src/Form/TranslateFormBase.php The state store.
TwigEnvironment::$state property core/lib/Drupal/Core/Template/TwigEnvironment.php The state service.
UnpublishedBlockTest::testViewShowsCorrectStates function core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php Tests unpublishing of block_content entities.
UpdateProcessor::$stateStore property core/modules/update/src/UpdateProcessor.php The state service.
UserRegistrationTest::testUuidFormState function core/modules/user/tests/src/Functional/UserRegistrationTest.php Tests that UUID isn't cached in form state on register form.
ValidateMigrationStateTest class core/modules/migrate_drupal/tests/src/Kernel/d6/ValidateMigrationStateTest.php Tests the migration state information in module.migrate_drupal.yml.
ValidateMigrationStateTest class core/modules/migrate_drupal/tests/src/Kernel/d7/ValidateMigrationStateTest.php Tests the migration state information in module.migrate_drupal.yml.
ValidateMigrationStateTest.php file core/modules/migrate_drupal/tests/src/Kernel/d6/ValidateMigrationStateTest.php
ValidateMigrationStateTest.php file core/modules/migrate_drupal/tests/src/Kernel/d7/ValidateMigrationStateTest.php
ValidateMigrationStateTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/d6/ValidateMigrationStateTest.php Modules to install.
ValidateMigrationStateTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/d7/ValidateMigrationStateTest.php Modules to install.
ValidateMigrationStateTestTrait trait core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php Tests the migration state information in module.migrate_drupal.yml.
ValidateMigrationStateTestTrait.php file core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php
ValidateMigrationStateTestTrait::enableAllModules function core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php Enable all available modules.
ValidateMigrationStateTestTrait::testMigrationState function core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php Tests the migration information in .migrate_drupal.yml.
views.view.test_content_moderation_field_state_test.yml file core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_field_state_test.yml core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_field_state_test.yml
views.view.test_content_moderation_state_filter_base_table.yml file core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_filter_base_table.yml core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_filter_base_table.yml
views.view.test_content_moderation_state_filter_base_table_filter_group_or.yml file core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_filter_base_table_filter_group_or.yml core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_filter_base_table_filter_group_or.yml
views.view.test_content_moderation_state_filter_base_table_filter_on_revision.yml file core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_filter_base_table_filter_on_revision.yml core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_filter_base_table_filter_on_revision.yml

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