You are here

public function Issue::addDocumentation in Drupal 7 to 8/9 Module Upgrader 8

Adds a piece of documentation relevant to the issue.

Parameters

string $url: The documentation's full URL.

string $title: The documentation's displayed title.

Return value

$this

Overrides IssueInterface::addDocumentation

File

src/Issue.php, line 101

Class

Issue

Namespace

Drupal\drupalmoduleupgrader

Code

public function addDocumentation($url, $title) {
  $this->documentation[] = [
    'url' => $url,
    'title' => $this->parser
      ->parseParagraph($title),
  ];
  return $this;
}