function StageBase::markAsAvailable
Marks the stage as available.
1 call to StageBase::markAsAvailable()
- StageBase::destroy in core/
modules/ package_manager/ src/ StageBase.php - Deletes the stage directory.
File
-
core/
modules/ package_manager/ src/ StageBase.php, line 571
Class
- StageBase
- Creates and manages a stage directory in which to install or update code.
Namespace
Drupal\package_managerCode
protected function markAsAvailable() : void {
$this->tempStore
->delete(static::TEMPSTORE_METADATA_KEY);
$this->tempStore
->delete(static::TEMPSTORE_LOCK_KEY);
$this->tempStore
->delete(self::TEMPSTORE_STAGING_ROOT_KEY);
$this->lock = NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.