function CollectPathsToExcludeEvent::add

2 calls to CollectPathsToExcludeEvent::add()
CollectPathsToExcludeEvent::addPathsRelativeToProjectRoot in core/modules/package_manager/src/Event/CollectPathsToExcludeEvent.php
Flags paths to be ignored, relative to the project root.
CollectPathsToExcludeEvent::addPathsRelativeToWebRoot in core/modules/package_manager/src/Event/CollectPathsToExcludeEvent.php
Flags paths to be ignored, relative to the web root.

File

core/modules/package_manager/src/Event/CollectPathsToExcludeEvent.php, line 48

Class

CollectPathsToExcludeEvent
Defines an event that collects paths to exclude.

Namespace

Drupal\package_manager\Event

Code

public function add(string ...$paths) : void {
    $this->pathList
        ->add(...$paths);
}

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