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
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::updateCache function core/lib/Drupal/Core/State/State.php Writes a value to the persistent cache immediately.
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/modules/workflows/src/StateInterface.php An interface for state value objects.
StateInterface interface core/lib/Drupal/Core/State/StateInterface.php Defines the interface for the state system.
StateInterface.php file core/lib/Drupal/Core/State/StateInterface.php
StateInterface.php file core/modules/workflows/src/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.
StateInterface::getTransitions function core/modules/workflows/src/StateInterface.php Gets all the possible transition objects for the state.
StateInterface::getTransitionTo function core/modules/workflows/src/StateInterface.php Gets the Transition object for the provided state ID.
StateInterface::id function core/modules/workflows/src/StateInterface.php Gets the state's ID.
StateInterface::label function core/modules/workflows/src/StateInterface.php Gets the state's label.
StateInterface::PLUGIN_FORM_KEY constant core/modules/workflows/src/StateInterface.php The key of the state plugin form.
StateInterface::resetCache function core/lib/Drupal/Core/State/StateInterface.php Resets the static cache.
StateInterface::set function core/lib/Drupal/Core/State/StateInterface.php Saves a value for a given key.
StateInterface::setMultiple function core/lib/Drupal/Core/State/StateInterface.php Saves key/value pairs.
StateInterface::weight function core/modules/workflows/src/StateInterface.php Gets the state's weight.
Statement class core/modules/sqlite/src/Driver/Database/sqlite/Statement.php SQLite implementation of \Drupal\Core\Database\Statement.
Statement class core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php SQLite implementation of \Drupal\Core\Database\Statement.
Statement.php file core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php
Statement.php file core/modules/sqlite/src/Driver/Database/sqlite/Statement.php
Statement::execute function core/modules/sqlite/src/Driver/Database/sqlite/Statement.php Executes a prepared statement.
Statement::getStatement function core/modules/sqlite/src/Driver/Database/sqlite/Statement.php The PDO SQLite layer doesn't replace numeric placeholders in queries
correctly, and this makes numeric expressions (such as COUNT(*) >= :count)
fail. We replace numeric placeholders in the query ourselves to work
around this bug.
StatementEvent.php file core/lib/Drupal/Core/Database/Event/StatementEvent.php
StatementExecutionEndEvent class core/lib/Drupal/Core/Database/Event/StatementExecutionEndEvent.php Represents the end of a statement execution as an event.
StatementExecutionEndEvent.php file core/lib/Drupal/Core/Database/Event/StatementExecutionEndEvent.php
StatementExecutionEndEvent::getElapsedTime function core/lib/Drupal/Core/Database/Event/StatementExecutionEndEvent.php Gets the query execution elapsed time.
StatementExecutionEndEvent::__construct function core/lib/Drupal/Core/Database/Event/StatementExecutionEndEvent.php Constructs a StatementExecutionEndEvent object.
StatementExecutionFailureEvent class core/lib/Drupal/Core/Database/Event/StatementExecutionFailureEvent.php Represents the failure of a statement execution as an event.
StatementExecutionFailureEvent.php file core/lib/Drupal/Core/Database/Event/StatementExecutionFailureEvent.php
StatementExecutionFailureEvent::__construct function core/lib/Drupal/Core/Database/Event/StatementExecutionFailureEvent.php Constructor.
StatementExecutionStartEvent class core/lib/Drupal/Core/Database/Event/StatementExecutionStartEvent.php Represents the start of a statement execution as an event.

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