public function ParsedMarkdown::save in Markdown 3.0.x
Caches a ParsedMarkdown object.
Return value
static
Overrides ParsedMarkdownInterface::save
File
- src/
ParsedMarkdown.php, line 205
Class
Namespace
Drupal\markdownCode
public function save() {
\Drupal::cache('markdown')
->set($this
->getId(), $this, $this
->getExpire());
return $this;
}