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 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
StatementWrapper::fetchField function core/lib/Drupal/Core/Database/StatementWrapper.php Returns a single field from the next record of a result set.
StatementWrapper::fetchObject function core/lib/Drupal/Core/Database/StatementWrapper.php Fetches the next row and returns it as an object.
StatementWrapper::getClientStatement function core/lib/Drupal/Core/Database/StatementWrapper.php Returns the client-level database statement object.
StatementWrapper::getConnectionTarget function core/lib/Drupal/Core/Database/StatementWrapper.php Returns the target connection this statement is associated with.
StatementWrapper::getIterator function core/lib/Drupal/Core/Database/StatementWrapper.php #[\ReturnTypeWillChange]
StatementWrapper::getQueryString function core/lib/Drupal/Core/Database/StatementWrapper.php Gets the query string of this statement.
StatementWrapper::rowCount function core/lib/Drupal/Core/Database/StatementWrapper.php Returns the number of rows matched by the last SQL statement.
StatementWrapper::setFetchMode function core/lib/Drupal/Core/Database/StatementWrapper.php Sets the default fetch mode for this statement.
StatementWrapper::__construct function core/lib/Drupal/Core/Database/StatementWrapper.php Constructs a StatementWrapper object.
StatementWrapperIterator class core/lib/Drupal/Core/Database/StatementWrapperIterator.php StatementInterface iterator implementation.
StatementWrapperIterator.php file core/lib/Drupal/Core/Database/StatementWrapperIterator.php
StatementWrapperIterator::$clientStatement property core/lib/Drupal/Core/Database/StatementWrapperIterator.php The client database Statement object.
StatementWrapperIterator::execute function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Executes a prepared statement.
StatementWrapperIterator::fetch function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Fetches the next row from a result set.
StatementWrapperIterator::fetchAll function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns an array containing all of the result set rows.
StatementWrapperIterator::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns the result set as an associative array keyed by the given field.
StatementWrapperIterator::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns the entire result set as a single associative array.
StatementWrapperIterator::fetchAssoc function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Fetches the next row and returns it as an associative array.
StatementWrapperIterator::fetchCol function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns an entire single column of a result set as an indexed array.
StatementWrapperIterator::fetchField function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns a single field from the next record of a result set.
StatementWrapperIterator::fetchObject function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Fetches the next row and returns it as an object.
StatementWrapperIterator::getClientStatement function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns the client-level database statement object.
StatementWrapperIterator::getConnectionTarget function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns the target connection this statement is associated with.
StatementWrapperIterator::getQueryString function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Gets the query string of this statement.
StatementWrapperIterator::rowCount function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns the number of rows matched by the last SQL statement.
StatementWrapperIterator::setFetchMode function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Sets the default fetch mode for this statement.
StatementWrapperIterator::__construct function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Constructs a StatementWrapperIterator object.
StateTest class core/modules/workflows/tests/src/Unit/StateTest.php @coversDefaultClass \Drupal\workflows\State[[api-linebreak]]
StateTest.php file core/modules/workflows/tests/src/Unit/StateTest.php
StateTest::testCanTransitionTo function core/modules/workflows/tests/src/Unit/StateTest.php @covers ::canTransitionTo[[api-linebreak]]
StateTest::testGetters function core/modules/workflows/tests/src/Unit/StateTest.php @covers ::__construct[[api-linebreak]]
@covers ::id[[api-linebreak]]
@covers ::label[[api-linebreak]]
@covers ::weight[[api-linebreak]]
StateTest::testGetTransitions function core/modules/workflows/tests/src/Unit/StateTest.php @covers ::getTransitions[[api-linebreak]]
StateTest::testGetTransitionTo function core/modules/workflows/tests/src/Unit/StateTest.php @covers ::getTransitionTo[[api-linebreak]]
StateTest::testGetTransitionToException function core/modules/workflows/tests/src/Unit/StateTest.php @covers ::getTransitionTo[[api-linebreak]]
StateTest::testLabelCallback function core/modules/workflows/tests/src/Unit/StateTest.php @covers ::labelCallback[[api-linebreak]]
StateTransitionValidation class core/modules/content_moderation/src/StateTransitionValidation.php Validates whether a certain state transition is allowed.
StateTransitionValidation.php file core/modules/content_moderation/src/StateTransitionValidation.php
StateTransitionValidation::$moderationInfo property core/modules/content_moderation/src/StateTransitionValidation.php The moderation information service.
StateTransitionValidation::$possibleTransitions property core/modules/content_moderation/src/StateTransitionValidation.php Stores the possible state transitions.
StateTransitionValidation::getValidTransitions function core/modules/content_moderation/src/StateTransitionValidation.php Gets a list of transitions that are legal for this user on this entity.
StateTransitionValidation::isTransitionValid function core/modules/content_moderation/src/StateTransitionValidation.php Checks if a transition between two states if valid for the given user.
StateTransitionValidation::__construct function core/modules/content_moderation/src/StateTransitionValidation.php Constructs a new StateTransitionValidation.
StateTransitionValidationInterface interface core/modules/content_moderation/src/StateTransitionValidationInterface.php Validates whether a certain state transition is allowed.
StateTransitionValidationInterface.php file core/modules/content_moderation/src/StateTransitionValidationInterface.php
StateTransitionValidationInterface::getValidTransitions function core/modules/content_moderation/src/StateTransitionValidationInterface.php Gets a list of transitions that are legal for this user on this entity.
StateTransitionValidationInterface::isTransitionValid function core/modules/content_moderation/src/StateTransitionValidationInterface.php Checks if a transition between two states if valid for the given user.
StateTransitionValidationTest class core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php @coversDefaultClass \Drupal\content_moderation\StateTransitionValidation[[api-linebreak]]
@group content_moderation
StateTransitionValidationTest.php file core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php
StateTransitionValidationTest::$workflow property core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php A test workflow.
StateTransitionValidationTest::setUp function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php

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