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
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/modules/mysqli/src/Driver/Database/mysqli/Statement.php MySQLi implementation of \Drupal\Core\Database\Query\StatementInterface.
Statement.php file core/modules/mysqli/src/Driver/Database/mysqli/Statement.php
Statement.php file core/modules/sqlite/src/Driver/Database/sqlite/Statement.php
Statement::$paramsPositions property core/modules/mysqli/src/Driver/Database/mysqli/Statement.php Holds the index position of named parameters.
Statement::execute function core/modules/mysqli/src/Driver/Database/mysqli/Statement.php Executes a prepared statement.
Statement::execute function core/modules/sqlite/src/Driver/Database/sqlite/Statement.php Executes a prepared statement.
Statement::getClientStatement function core/modules/mysqli/src/Driver/Database/mysqli/Statement.php Returns the client-level database statement object.
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.
Statement::__construct function core/modules/mysqli/src/Driver/Database/mysqli/Statement.php Constructs a Statement object.
StatementBase class core/lib/Drupal/Core/Database/Statement/StatementBase.php StatementInterface base implementation.
StatementBase.php file core/lib/Drupal/Core/Database/Statement/StatementBase.php
StatementBase::$clientStatement property core/lib/Drupal/Core/Database/Statement/StatementBase.php The client database Statement object.
StatementBase::$fetchMode property core/lib/Drupal/Core/Database/Statement/StatementBase.php Holds the default fetch mode.
StatementBase::$fetchOptions property core/lib/Drupal/Core/Database/Statement/StatementBase.php Holds fetch options.
StatementBase::$result property core/lib/Drupal/Core/Database/Statement/StatementBase.php The results of a data query language (DQL) statement.
StatementBase::dispatchStatementExecutionEndEvent function core/lib/Drupal/Core/Database/Statement/StatementBase.php Dispatches an event informing that the statement execution succeeded.
StatementBase::dispatchStatementExecutionFailureEvent function core/lib/Drupal/Core/Database/Statement/StatementBase.php Dispatches an event informing of the statement execution failure.
StatementBase::dispatchStatementExecutionStartEvent function core/lib/Drupal/Core/Database/Statement/StatementBase.php Dispatches an event informing that the statement execution begins.
StatementBase::execute function core/lib/Drupal/Core/Database/Statement/StatementBase.php Executes a prepared statement.
StatementBase::fetch function core/lib/Drupal/Core/Database/Statement/StatementBase.php Fetches the next row from a result set.
StatementBase::fetchAll function core/lib/Drupal/Core/Database/Statement/StatementBase.php Returns an array containing all of the result set rows.

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