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
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 enable.
ValidateMigrationStateTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/d7/ValidateMigrationStateTest.php Modules to enable.
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.
ViewsModerationStateFilterTest.php file core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php
ViewsModerationStateFilterTest.php file core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php
ViewsModerationStateFilterTest::$defaultTheme property core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php The theme to install as the default for testing.
ViewsModerationStateFilterTest::$modules property core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php Modules to enable.
ViewsModerationStateFilterTest::$modules property core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php Modules to enable.
ViewsModerationStateFilterTest::assertFilterStates function core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php Assert the states which appear in the filter.
ViewsModerationStateFilterTest::assertNodesWithFilters function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php Assert the nodes appear when the test view is executed.
ViewsModerationStateFilterTest::assertPluginStates function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php Assert the plugin states.
ViewsModerationStateFilterTest::assertWorkflowDependencies function core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php Asserts the views dependencies on workflow config entities.
ViewsModerationStateFilterTest::executeAndAssertIdenticalResultset function core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php Execute a view and assert the expected results.
ViewsModerationStateFilterTest::loadViewUnchanged function core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php Load a view from the database after it has been modified in a sub-request.
ViewsModerationStateFilterTest::providerTestWorkflowChanges function core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php Data provider for testWorkflowChanges.
ViewsModerationStateFilterTest::setUp function core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php Sets up the test.
ViewsModerationStateFilterTest::setUp function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php
ViewsModerationStateFilterTest::testFilterRenderCache function core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php Tests the content moderation state filter caching is correct.
ViewsModerationStateFilterTest::testModerationStateFilterDependencyHandling function core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php Tests the dependency handling of the moderation state filter.
ViewsModerationStateFilterTest::testModerationStateFilterOnJoinedEntity function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php Tests the moderation state filter on an entity added via a relationship.
ViewsModerationStateFilterTest::testNonTranslatableEntityType function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php Tests the moderation filter with a non-translatable entity type.

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