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
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.
ThemeInstaller::$state property core/lib/Drupal/Core/Extension/ThemeInstaller.php
TimestampFormatter::buildStates function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Builds the #states key for form elements.
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
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.
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.
TranslationStatusForm::$state property core/modules/locale/src/Form/TranslationStatusForm.php The Drupal state storage service.
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.
UpdateManagerUpdate::$state property core/modules/update/src/Form/UpdateManagerUpdate.php The Drupal state storage service.
UpdateProcessor::$stateStore property core/modules/update/src/UpdateProcessor.php The state service.
UpdateReady::$state property core/modules/update/src/Form/UpdateReady.php The state key value store.
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
views.view.test_content_moderation_state_filter_entity_test.yml file core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_filter_entity_test.yml core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_filter_entity_test.yml
views.view.test_content_moderation_state_filter_revision_table.yml file core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_filter_revision_table.yml core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_filter_revision_table.yml
views.view.test_content_moderation_state_sort_base_table.yml file core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_sort_base_table.yml core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_sort_base_table.yml
views.view.test_content_moderation_state_sort_revision_table.yml file core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_sort_revision_table.yml core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_sort_revision_table.yml
ViewsDataIntegrationTest::testContentModerationStateField function core/modules/content_moderation/tests/src/Kernel/ViewsDataIntegrationTest.php Tests the content moderation state views field.
ViewsEntitySchemaSubscriberIntegrationTest::$state property core/modules/views/tests/src/Kernel/EventSubscriber/ViewsEntitySchemaSubscriberIntegrationTest.php The state service.
ViewsFormBase::getFormState function core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php Gets the form state for this form.
ViewsFormInterface::getFormState function core/modules/views_ui/src/Form/Ajax/ViewsFormInterface.php Gets the form state for this form.
ViewsLocalTask::$state property core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php The state key value store.
ViewsLocalTaskTest::$state property core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php The mocked key value storage.
ViewsModerationStateFilterTest class core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php Tests the views 'moderation_state_filter' filter plugin.
ViewsModerationStateFilterTest class core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php Tests the views 'moderation_state_filter' filter plugin.

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