Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
state service core/core.services.yml Drupal\Core\State\State
State API group core/core.api.php Information about the State API.
State.php file core/lib/Drupal/Core/State/State.php
State.php file core/modules/workflows/src/State.php
State::$deprecatedState property core/lib/Drupal/Core/State/State.php Information about all deprecated state, keyed by legacy state key.
State::$id property core/modules/workflows/src/State.php The state's ID.
State::$keysSetDuringRequest property core/lib/Drupal/Core/State/State.php Tracks keys that have been modified during the request lifecycle.
State::$keyValueStore property core/lib/Drupal/Core/State/State.php The key value store to use.
State::$label property core/modules/workflows/src/State.php The state's label.
State::$weight property core/modules/workflows/src/State.php The state's weight.
State::$workflow property core/modules/workflows/src/State.php The workflow the state is attached to.
State::canTransitionTo function core/modules/workflows/src/State.php Determines if the state can transition to the provided state ID.
State::delete function core/lib/Drupal/Core/State/State.php Deletes the element.
State::deleteMultiple function core/lib/Drupal/Core/State/State.php Deletes multiple items.
State::get function core/lib/Drupal/Core/State/State.php Gets value from the cache.
State::getMultiple function core/lib/Drupal/Core/State/State.php Returns the stored key/value pairs for a given set of keys.
State::getTransitions function core/modules/workflows/src/State.php Gets all the possible transition objects for the state.
State::getTransitionTo function core/modules/workflows/src/State.php Gets the Transition object for the provided state ID.
State::getValuesSetDuringRequest function core/lib/Drupal/Core/State/State.php Returns any values modified for a given key during the request.
State::id function core/modules/workflows/src/State.php Gets the state's ID.
State::label function core/modules/workflows/src/State.php Gets the state's label.
State::labelCallback function core/modules/workflows/src/State.php Helper method to convert a State value object to a label.
State::registerKeySetDuringRequest function core/lib/Drupal/Core/State/State.php Registers a key that was set during the request.
State::resetCache function core/lib/Drupal/Core/State/State.php Resets the static cache.
State::resolveCacheMiss function core/lib/Drupal/Core/State/State.php Resolves a cache miss.
State::set function core/lib/Drupal/Core/State/State.php Implements \Drupal\Core\Cache\CacheCollectorInterface::set().
State::setMultiple function core/lib/Drupal/Core/State/State.php Saves key/value pairs.
State::weight function core/modules/workflows/src/State.php Gets the state's weight.
State::__construct function core/modules/workflows/src/State.php State constructor.
State::__construct function core/lib/Drupal/Core/State/State.php Constructs a State object.
StateFileExistsTest class core/modules/migrate_drupal/tests/src/Kernel/StateFileExistsTest.php Tests that core modules have a migrate_drupal.yml file as needed.
StateFileExistsTest.php file core/modules/migrate_drupal/tests/src/Kernel/StateFileExistsTest.php
StateFileExistsTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/StateFileExistsTest.php Modules to install.
StateFileExistsTest::$stateFileRequired property core/modules/migrate_drupal/tests/src/Kernel/StateFileExistsTest.php Modules that should have a migrate_drupal.yml file.
StateFileExistsTest::testMigrationState function core/modules/migrate_drupal/tests/src/Kernel/StateFileExistsTest.php Tests that the migrate_drupal.yml files exist as needed.
StateFormatterTest class core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php Test the state field formatter.
StateFormatterTest.php file core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php
StateFormatterTest::$modules property core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php Modules to install.
StateFormatterTest::formatterTestCases function core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php Test cases for testStateFieldFormatter().
StateFormatterTest::setUp function core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php
StateFormatterTest::testStateFieldFormatter function core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php Tests the embed field.
StateInterface interface core/lib/Drupal/Core/State/StateInterface.php Defines the interface for the state system.
StateInterface interface core/modules/workflows/src/StateInterface.php An interface for state value objects.
StateInterface.php file core/modules/workflows/src/StateInterface.php
StateInterface.php file core/lib/Drupal/Core/State/StateInterface.php
StateInterface::canTransitionTo function core/modules/workflows/src/StateInterface.php Determines if the state can transition to the provided state ID.
StateInterface::delete function core/lib/Drupal/Core/State/StateInterface.php Deletes an item.
StateInterface::deleteMultiple function core/lib/Drupal/Core/State/StateInterface.php Deletes multiple items.
StateInterface::get function core/lib/Drupal/Core/State/StateInterface.php Returns the stored value for a given key.
StateInterface::getMultiple function core/lib/Drupal/Core/State/StateInterface.php Returns the stored key/value pairs for a given set of keys.

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