public function ParserAwareTrait::setParser in Markdown 8.2
2 calls to ParserAwareTrait::setParser()
- FilterMarkdown::setParser in src/
Plugin/ Filter/ FilterMarkdown.php - Sets the Filter plugin.
- ParserConfigurationForm::buildForm in src/
Form/ ParserConfigurationForm.php - Form constructor.
File
- src/
Traits/ ParserAwareTrait.php, line 29
Class
- ParserAwareTrait
- Trait for implementing \Drupal\markdown\Util\ParserAwareInterface.
Namespace
Drupal\markdown\TraitsCode
public function setParser(ParserInterface $parser = NULL) {
$this->parser = $parser;
return $this;
}