Search for db

  1. Search 7.x for db
  2. Search 9.5.x for db
  3. Search 8.9.x for db
  4. Search 10.3.x for db
  5. Other projects
Title Object type File name Summary
SandboxDirectoryValidator::validate function core/modules/package_manager/src/Validator/SandboxDirectoryValidator.php Check if staging root is a subdirectory of active.
SandboxDirectoryValidator::__construct function core/modules/package_manager/src/Validator/SandboxDirectoryValidator.php
SandboxDirectoryValidatorTest class core/modules/package_manager/tests/src/Unit/SandboxDirectoryValidatorTest.php @coversDefaultClass \Drupal\package_manager\Validator\SandboxDirectoryValidator[[api-linebreak]]
@group package_manager
@internal
SandboxDirectoryValidatorTest.php file core/modules/package_manager/tests/src/Unit/SandboxDirectoryValidatorTest.php
SandboxDirectoryValidatorTest::providerTestCheckNotInActive function core/modules/package_manager/tests/src/Unit/SandboxDirectoryValidatorTest.php Data provider for testCheckNotInActive().
SandboxDirectoryValidatorTest::testCheckNotInActive function core/modules/package_manager/tests/src/Unit/SandboxDirectoryValidatorTest.php @covers ::validate[[api-linebreak]]
SandboxEvent class core/modules/package_manager/src/Event/SandboxEvent.php Base class for all events related to the life cycle of the stage.
SandboxEvent.php file core/modules/package_manager/src/Event/SandboxEvent.php
SandboxEvent::__construct function core/modules/package_manager/src/Event/SandboxEvent.php Constructs a StageEvent object.
SandboxEventException class core/modules/package_manager/src/Exception/SandboxEventException.php Exception thrown if an error related to an event occurs.
SandboxEventException.php file core/modules/package_manager/src/Exception/SandboxEventException.php
SandboxEventException::getResultsAsText function core/modules/package_manager/src/Exception/SandboxEventException.php Formats the validation results, if any, as plain text.
SandboxEventException::__construct function core/modules/package_manager/src/Exception/SandboxEventException.php Constructs a StageEventException object.
SandboxException class core/modules/package_manager/src/Exception/SandboxException.php Base class for all exceptions related to stage operations.
SandboxException.php file core/modules/package_manager/src/Exception/SandboxException.php
SandboxException::__construct function core/modules/package_manager/src/Exception/SandboxException.php Constructs a StageException object.
SandboxManagerBase class core/modules/package_manager/src/SandboxManagerBase.php Creates and manages a stage directory in which to install or update code.
SandboxManagerBase.php file core/modules/package_manager/src/SandboxManagerBase.php
SandboxManagerBase::$lock property core/modules/package_manager/src/SandboxManagerBase.php The lock info for the stage.
SandboxManagerBase::$tempStore property core/modules/package_manager/src/SandboxManagerBase.php The shared temp store.
SandboxManagerBase::$type property core/modules/package_manager/src/SandboxManagerBase.php The stage type.
SandboxManagerBase::apply function core/modules/package_manager/src/SandboxManagerBase.php Applies staged changes to the active directory.
SandboxManagerBase::checkOwnership function core/modules/package_manager/src/SandboxManagerBase.php Validates the ownership of stage directory.
SandboxManagerBase::claim function core/modules/package_manager/src/SandboxManagerBase.php Attempts to claim the stage.
SandboxManagerBase::COMPOSER_PACKAGE_REGEX constant core/modules/package_manager/src/SandboxManagerBase.php The regular expression to check if a package name is a regular package.
SandboxManagerBase::COMPOSER_PLATFORM_PACKAGE_REGEX constant core/modules/package_manager/src/SandboxManagerBase.php The regular expression to check if a package name is a platform package.
SandboxManagerBase::computeDestroyMessage function core/modules/package_manager/src/SandboxManagerBase.php Returns the specific destroy message for the ID.
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.

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