function SandboxManagerBase::getFailureMarkerMessage

Returns the failure marker message.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The translated failure marker message.

1 call to SandboxManagerBase::getFailureMarkerMessage()
SandboxManagerBase::apply in core/modules/package_manager/src/SandboxManagerBase.php
Applies staged changes to the active directory.

File

core/modules/package_manager/src/SandboxManagerBase.php, line 789

Class

SandboxManagerBase
Creates and manages a stage directory in which to install or update code.

Namespace

Drupal\package_manager

Code

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.