Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CollectPathsToExcludeEvent.php

function CollectPathsToExcludeEvent::add

Overrides PathListInterface::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);
}
RSS feed
Powered by Drupal