You are here

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

File

src/Issue.php, line 56

Class

Issue

Namespace

Drupal\drupalmoduleupgrader

Code

public function __construct(Target $target, $title, $summary = NULL) {
  $this->target = $target;
  $this
    ->setTitle($title);
  if (isset($summary)) {
    $this
      ->setSummary($summary);
  }
  $this->parser = new Markdown();
  $this->parser->html5 = TRUE;
}