You are here

public function Report::enumerateTag in Drupal 7 to 8/9 Module Upgrader 8

File

src/Report.php, line 40

Class

Report
Basic implementation of an analyzer report.

Namespace

Drupal\drupalmoduleupgrader

Code

public function enumerateTag($tag) {
  $enum = array_map(function (IssueInterface $issue) use ($tag) {
    return $issue
      ->getTag($tag);
  }, $this
    ->getIssues($tag));
  return array_unique($enum);
}