Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
SandboxManagerBase::create function core/modules/package_manager/src/SandboxManagerBase.php Copies the active code base into the stage directory.
SandboxManagerBase::destroy function core/modules/package_manager/src/SandboxManagerBase.php Deletes the stage directory.
SandboxManagerBase::dispatch function core/modules/package_manager/src/SandboxManagerBase.php Dispatches an event and handles any errors that it collects.
SandboxManagerBase::getFailureMarkerMessage function core/modules/package_manager/src/SandboxManagerBase.php Returns the failure marker message.
SandboxManagerBase::getMetadata function core/modules/package_manager/src/SandboxManagerBase.php Returns a specific piece of metadata associated with this stage.
SandboxManagerBase::getPathsToExclude function core/modules/package_manager/src/SandboxManagerBase.php Collects paths that Composer Stager should exclude.
SandboxManagerBase::getSandboxDirectory function core/modules/package_manager/src/SandboxManagerBase.php Returns the path of the directory where changes should be staged.
SandboxManagerBase::getStagingRoot function core/modules/package_manager/src/SandboxManagerBase.php Returns the directory where stage directories will be created.
SandboxManagerBase::getType function core/modules/package_manager/src/SandboxManagerBase.php Gets the stage type.
SandboxManagerBase::isApplying function core/modules/package_manager/src/SandboxManagerBase.php Checks if staged changes are being applied to the active directory.
SandboxManagerBase::isAvailable function core/modules/package_manager/src/SandboxManagerBase.php Determines if the stage directory can be created.
SandboxManagerBase::isDirectWrite function core/modules/package_manager/src/SandboxManagerBase.php Indicates whether the active directory will be changed directly.
SandboxManagerBase::markAsAvailable function core/modules/package_manager/src/SandboxManagerBase.php Marks the stage as available.
SandboxManagerBase::postApply function core/modules/package_manager/src/SandboxManagerBase.php Performs post-apply tasks.
SandboxManagerBase::require function core/modules/package_manager/src/SandboxManagerBase.php Adds or updates packages in the sandbox directory.
SandboxManagerBase::rethrowAsStageException function core/modules/package_manager/src/SandboxManagerBase.php Wraps an exception in a StageException and re-throws it.
SandboxManagerBase::sandboxDirectoryExists function core/modules/package_manager/src/SandboxManagerBase.php Determines if the stage directory exists.
SandboxManagerBase::setMetadata function core/modules/package_manager/src/SandboxManagerBase.php Stores arbitrary metadata associated with this stage.
SandboxManagerBase::setNotApplying function core/modules/package_manager/src/SandboxManagerBase.php Returns a closure that marks this stage as no longer being applied.
SandboxManagerBase::storeDestroyInfo function core/modules/package_manager/src/SandboxManagerBase.php Stores information about the stage when it is destroyed.
SandboxManagerBase::TEMPSTORE_APPLY_TIME_KEY constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key under which to store the time that ::apply() was called.
SandboxManagerBase::TEMPSTORE_CHANGES_APPLIED constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key for whether staged operations have been applied.
SandboxManagerBase::TEMPSTORE_DESTROYED_STAGES_INFO_PREFIX constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key for information about previously destroyed stages.
SandboxManagerBase::TEMPSTORE_LOCK_KEY constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key under which to store the locking info for this stage.
SandboxManagerBase::TEMPSTORE_METADATA_KEY constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key under which to store arbitrary metadata for this stage.
SandboxManagerBase::TEMPSTORE_STAGING_ROOT_KEY constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key under which to store the path of stage root directory.
SandboxManagerBase::validateRequirements function core/modules/package_manager/src/SandboxManagerBase.php Validates a set of package names.
SandboxManagerBase::__construct function core/modules/package_manager/src/SandboxManagerBase.php
SandboxManagerBaseTest class core/modules/package_manager/tests/src/Unit/SandboxManagerBaseTest.php Tests Drupal\package_manager\SandboxManagerBase.
SandboxManagerBaseTest class core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests Drupal\package_manager\SandboxManagerBase.
SandboxManagerBaseTest.php file core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php
SandboxManagerBaseTest.php file core/modules/package_manager/tests/src/Unit/SandboxManagerBaseTest.php
SandboxManagerBaseTest::$modules property core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php
SandboxManagerBaseTest::providerFailureDuringComposerStagerOperations function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Data provider for ::testFailureDuringComposerStagerOperations().
SandboxManagerBaseTest::providerStoreDestroyInfo function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Data provider for testStoreDestroyInfo().
SandboxManagerBaseTest::providerValidateRequirements function core/modules/package_manager/tests/src/Unit/SandboxManagerBaseTest.php Data provider for testValidateRequirements.
SandboxManagerBaseTest::register function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php
SandboxManagerBaseTest::testCollectPathsToExclude function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that paths to exclude are collected before create and apply.
SandboxManagerBaseTest::testFailureCollectPathsToExclude function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that if a stage fails to get paths to exclude, throws a stage exception.
SandboxManagerBaseTest::testFailureCollectPathsToExcludeOnApply function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that if apply fails to get paths to exclude, throws a stage exception.
SandboxManagerBaseTest::testFailureDuringComposerStagerOperations function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests when Composer Stager throws an exception during an operation.
SandboxManagerBaseTest::testFailureMarkerFileExcluded function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that the failure marker file is excluded using a relative path.
SandboxManagerBaseTest::testFailureMarkerPreventsCreate function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that if a stage fails to apply, another stage cannot be created.
SandboxManagerBaseTest::testGetSandboxDirectory function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests get sandbox directory.
SandboxManagerBaseTest::testMetadata function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests metadata.
SandboxManagerBaseTest::testNoFailureFileOnSuccess function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that the failure marker file doesn't exist if apply succeeds.
SandboxManagerBaseTest::testStageDirectoryDeletedDuringCron function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that destroyed stage directories are actually deleted during cron.
SandboxManagerBaseTest::testStageDirectoryExists function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests stage directory exists.
SandboxManagerBaseTest::testStoreDestroyInfo function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests exceptions thrown because of previously destroyed stage.
SandboxManagerBaseTest::testTempStoreMessageExpired function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests exception message once temp store message has expired.

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