You are here

public function ParsedMarkdown::setLabel in Markdown 8.2

Sets the object's label.

Parameters

string $label: A human-readable label.

Return value

static

Overrides ParsedMarkdownInterface::setLabel

File

src/Render/ParsedMarkdown.php, line 219

Class

ParsedMarkdown
The end result of parsing markdown into HTML.

Namespace

Drupal\markdown\Render

Code

public function setLabel($label) {
  $this->label = $label;
  return $this;
}