public function ExcludedPathsTrait::excludePath in Automatic Updates 8.2
Adds an absolute path to exclude from the update operation.
@todo This should only accept paths relative to the active directory.
Parameters
string $path: The path to exclude.
File
- src/
Event/ ExcludedPathsTrait.php, line 25
Class
- ExcludedPathsTrait
- Common functionality for events which can collect excluded paths.
Namespace
Drupal\automatic_updates\EventCode
public function excludePath(string $path) : void {
$this->excludedPaths[] = $path;
}