function FailureMarker::excludeMarkerFile

Excludes the failure marker file from stage operations.

Parameters

\Drupal\package_manager\Event\CollectPathsToExcludeEvent $event: The event being handled.

File

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

Class

FailureMarker
Handles failure marker file operation.

Namespace

Drupal\package_manager

Code

public function excludeMarkerFile(CollectPathsToExcludeEvent $event) : void {
    $event->addPathsRelativeToProjectRoot([
        $this->getPath(),
    ]);
}

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