You are here

public function IssueInterface::addAffectedFile in Drupal 7 to 8/9 Module Upgrader 8

Marks a particular file as being affected by this issue.

Parameters

string $file: The path of the affected file.

\Drupal\drupalmoduleupgrader\AnalyzerInterface $detector: The plugin which detected the problem.

Return value

$this

1 method overrides IssueInterface::addAffectedFile()
Issue::addAffectedFile in src/Issue.php
Marks a particular file as being affected by this issue.

File

src/IssueInterface.php, line 71

Class

IssueInterface

Namespace

Drupal\drupalmoduleupgrader

Code

public function addAffectedFile($file, AnalyzerInterface $detector);