Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 10.3.x for valid
  5. Other projects
Title Object type File name Summary
StagedDatabaseUpdateValidator::$state property core/modules/package_manager/tests/modules/package_manager_test_validation/src/StagedDatabaseUpdateValidator.php The state service.
StagedDatabaseUpdateValidator::hasStagedUpdates function core/modules/package_manager/tests/modules/package_manager_test_validation/src/StagedDatabaseUpdateValidator.php
StagedDatabaseUpdateValidator::setExtensionsWithUpdates function core/modules/package_manager/tests/modules/package_manager_test_validation/src/StagedDatabaseUpdateValidator.php Sets the names of the extensions which should have staged database updates.
StagedDatabaseUpdateValidator::setState function core/modules/package_manager/tests/modules/package_manager_test_validation/src/StagedDatabaseUpdateValidator.php Sets the state service dependency.
StagedDBUpdateValidator class core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php Flags a warning if there are database updates in a staged update.
StagedDBUpdateValidator.php file core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php
StagedDBUpdateValidator::checkForStagedDatabaseUpdates function core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php Checks that the staged update does not have changes to its install files.
StagedDBUpdateValidator::getExtensionsWithDatabaseUpdates function core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php Gets extensions that have database updates in the stage directory.
StagedDBUpdateValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php
StagedDBUpdateValidator::getUpdateFunctions function core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php Returns a list of all update functions for a module.
StagedDBUpdateValidator::hasStagedUpdates function core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php Determines if a staged extension has changed update functions.
StagedDBUpdateValidator::tokensMatchFunctionNamePattern function core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php Determines if a set of tokens contain a function name matching a pattern.
StagedDBUpdateValidator::__construct function core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php
StagedDBUpdateValidatorTest class core/modules/package_manager/tests/src/Kernel/StagedDBUpdateValidatorTest.php @covers \Drupal\package_manager\Validator\StagedDBUpdateValidator
@group package_manager
@internal
StagedDBUpdateValidatorTest.php file core/modules/package_manager/tests/src/Kernel/StagedDBUpdateValidatorTest.php
StagedDBUpdateValidatorTest::providerStagedDatabaseUpdate function core/modules/package_manager/tests/src/Kernel/StagedDBUpdateValidatorTest.php Data provider for ::testStagedDatabaseUpdates().
StagedDBUpdateValidatorTest::setUp function core/modules/package_manager/tests/src/Kernel/StagedDBUpdateValidatorTest.php
StagedDBUpdateValidatorTest::testStagedDatabaseUpdate function core/modules/package_manager/tests/src/Kernel/StagedDBUpdateValidatorTest.php Tests validation of staged database updates.
StagedDBUpdateValidatorTest::testUnclaimedStage function core/modules/package_manager/tests/src/Kernel/StagedDBUpdateValidatorTest.php Tests that the validator disregards unclaimed stages.
StageEventsTest::providerValidationResults function core/modules/package_manager/tests/src/Kernel/StageEventsTest.php Data provider for testValidationResults().
StageEventsTest::testValidationResults function core/modules/package_manager/tests/src/Kernel/StageEventsTest.php Tests that an exception is thrown if an event has validation results.
StageNotInActiveValidator class core/modules/package_manager/src/Validator/StageNotInActiveValidator.php Validates staging root is not a subdirectory of active.
StageNotInActiveValidator.php file core/modules/package_manager/src/Validator/StageNotInActiveValidator.php
StageNotInActiveValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/StageNotInActiveValidator.php
StageNotInActiveValidator::validate function core/modules/package_manager/src/Validator/StageNotInActiveValidator.php Check if staging root is a subdirectory of active.
StageNotInActiveValidator::__construct function core/modules/package_manager/src/Validator/StageNotInActiveValidator.php
StageNotInActiveValidatorTest class core/modules/package_manager/tests/src/Unit/StageNotInActiveValidatorTest.php @coversDefaultClass \Drupal\package_manager\Validator\StageNotInActiveValidator
@group package_manager
@internal
StageNotInActiveValidatorTest.php file core/modules/package_manager/tests/src/Unit/StageNotInActiveValidatorTest.php
StageNotInActiveValidatorTest::providerTestCheckNotInActive function core/modules/package_manager/tests/src/Unit/StageNotInActiveValidatorTest.php Data provider for testCheckNotInActive().
StageNotInActiveValidatorTest::testCheckNotInActive function core/modules/package_manager/tests/src/Unit/StageNotInActiveValidatorTest.php @covers ::validate
StatementIteratorTrait::valid function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Checks if current position is valid.
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
StateTransitionValidation::isTransitionValid function core/modules/content_moderation/src/StateTransitionValidation.php
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
@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
StateTransitionValidationTest::testUserSensitiveValidTransitions function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php Verifies user-aware transition validation.
StateTransitionValidationTest::userTransitionsProvider function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php Data provider for the user transition test.
StaticMapTest::testMapWithInvalidSource function core/modules/migrate/tests/src/Unit/process/StaticMapTest.php Tests when the source is invalid.
StaticMapTest::testMapWithInvalidSourceAndBypass function core/modules/migrate/tests/src/Unit/process/StaticMapTest.php Tests when the source is invalid and bypass is enabled.

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