You are here

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

Sets the value for a tag. Any existing value for the tag will be blown away.

Parameters

string $tag: The tag's name.

mixed $value: The tag value. Can be anything.

Return value

$this

Overrides IssueInterface::setTag

1 call to Issue::setTag()
Issue::addFix in src/Issue.php
Adds a fix for this issue.

File

src/Issue.php, line 190

Class

Issue

Namespace

Drupal\drupalmoduleupgrader

Code

public function setTag($tag, $value) {
  $this->tags[$tag] = $value;
  return $this;
}