function StageBase::getFailureMarkerMessage
Returns the failure marker message.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The translated failure marker message.
1 call to StageBase::getFailureMarkerMessage()
- StageBase::apply in core/
modules/ package_manager/ src/ StageBase.php - Applies staged changes to the active directory.
File
-
core/
modules/ package_manager/ src/ StageBase.php, line 789
Class
- StageBase
- Creates and manages a stage directory in which to install or update code.
Namespace
Drupal\package_managerCode
protected function getFailureMarkerMessage() : TranslatableMarkup {
return $this->t('Staged changes failed to apply, and the site is in an indeterminate state. It is strongly recommended to restore the code and database from a backup.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.