function FailureMarker::getPath

Gets the marker file path.

Return value

string The absolute path of the marker file.

4 calls to FailureMarker::getPath()
FailureMarker::clear in core/modules/package_manager/src/FailureMarker.php
Deletes the marker file.
FailureMarker::excludeMarkerFile in core/modules/package_manager/src/FailureMarker.php
Excludes the failure marker file from stage operations.
FailureMarker::getData in core/modules/package_manager/src/FailureMarker.php
Gets the data from the file if it exists.
FailureMarker::write in core/modules/package_manager/src/FailureMarker.php
Writes data to marker file.

File

core/modules/package_manager/src/FailureMarker.php, line 39

Class

FailureMarker
Handles failure marker file operation.

Namespace

Drupal\package_manager

Code

public function getPath() : string {
    return $this->pathLocator
        ->getProjectRoot() . '/PACKAGE_MANAGER_FAILURE.yml';
}

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