You are here

public function ParsedMarkdown::setId in Markdown 8.2

Sets the object's identifier.

Parameters

string $id: An identifier.

Return value

static

Overrides ParsedMarkdownInterface::setId

File

src/Render/ParsedMarkdown.php, line 211

Class

ParsedMarkdown
The end result of parsing markdown into HTML.

Namespace

Drupal\markdown\Render

Code

public function setId($id) {
  $this->id = $id;
  return $this;
}