public function ParsedMarkdownInterface::setExpire in Markdown 3.0.x
Sets the object's expiration timestamp.
Parameters
int|string $expire: A UNIX timestamp or a string indicating a relative time in the future of when this object is to expire, e.g. "1+ day".
Return value
static
1 method overrides ParsedMarkdownInterface::setExpire()
- ParsedMarkdown::setExpire in src/
ParsedMarkdown.php - Sets the object's expiration timestamp.
File
- src/
ParsedMarkdownInterface.php, line 179
Class
Namespace
Drupal\markdownCode
public function setExpire($expire = Cache::PERMANENT);