Search for stage

  1. Search 7.x for stage
  2. Search 9.5.x for stage
  3. Search 8.9.x for stage
  4. Search 10.3.x for stage
  5. Other projects
Title Object type File name Summary
StageBaseTest::testCommitException function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests exception handling during calls to Composer Stager commit.
StageBaseTest::testDestroyDuringApply function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests destroying a stage while applying it.
StageBaseTest::testFailureCollectPathsToExclude function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that if a stage fails to get paths to exclude, throws a stage exception.
StageBaseTest::testFailureCollectPathsToExcludeOnApply function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that if apply fails to get paths to exclude, throws a stage exception.
StageBaseTest::testFailureDuringComposerStagerOperations function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests when Composer Stager throws an exception during an operation.
StageBaseTest::testFailureMarkerFileExcluded function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that the failure marker file is excluded using a relative path.
StageBaseTest::testFailureMarkerPreventsCreate function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that if a stage fails to apply, another stage cannot be created.
StageBaseTest::testGetStageDirectory function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php @covers ::getStageDirectory
StageBaseTest::testLoggedOnError function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php @covers \Drupal\package_manager\StageBase::dispatch
StageBaseTest::testMetadata function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php @covers ::getMetadata
@covers ::setMetadata
StageBaseTest::testNoFailureFileOnSuccess function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that the failure marker file doesn't exist if apply succeeds.
StageBaseTest::testStageDirectoryDeletedDuringCron function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that destroyed stage directories are actually deleted during cron.
StageBaseTest::testStageDirectoryExists function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php @covers ::stageDirectoryExists
StageBaseTest::testStoreDestroyInfo function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests exceptions thrown because of previously destroyed stage.
StageBaseTest::testTempStoreMessageExpired function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests exception message once temp store message has expired.
StageBaseTest::testTimeouts function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that Composer Stager is invoked with a long timeout.
StageBaseTest::testTypeMustBeExplicitlyOverridden function core/modules/package_manager/tests/src/Unit/StageBaseTest.php @covers ::getType
StageBaseTest::testUncreatedGetStageDirectory function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php @covers ::getStageDirectory
StageBaseTest::testUninstallModuleDuringApply function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Test uninstalling any module while the staged changes are being applied.
StageBaseTest::testValidateRequirements function core/modules/package_manager/tests/src/Unit/StageBaseTest.php @covers ::validateRequirements
StagedDatabaseUpdateValidator class core/modules/package_manager/tests/modules/package_manager_test_validation/src/StagedDatabaseUpdateValidator.php Allows tests to dictate which extensions have staged database updates.
StagedDatabaseUpdateValidator.php file core/modules/package_manager/tests/modules/package_manager_test_validation/src/StagedDatabaseUpdateValidator.php
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.
StageEvent class core/modules/package_manager/src/Event/StageEvent.php Base class for all events related to the life cycle of the stage.
StageEvent.php file core/modules/package_manager/src/Event/StageEvent.php
StageEvent::__construct function core/modules/package_manager/src/Event/StageEvent.php Constructs a StageEvent object.
StageEventException class core/modules/package_manager/src/Exception/StageEventException.php Exception thrown if an error related to an event occurs.
StageEventException.php file core/modules/package_manager/src/Exception/StageEventException.php
StageEventException::getResultsAsText function core/modules/package_manager/src/Exception/StageEventException.php Formats the validation results, if any, as plain text.
StageEventException::__construct function core/modules/package_manager/src/Exception/StageEventException.php Constructs a StageEventException object.
StageEventsTest class core/modules/package_manager/tests/src/Kernel/StageEventsTest.php Tests that the stage fires events during its lifecycle.
StageEventsTest.php file core/modules/package_manager/tests/src/Kernel/StageEventsTest.php

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