You are here

public function ParsedMarkdownInterface::getExpire in Markdown 3.0.x

Retrieves the UNIX timestamp for when this object should expire.

Note: this method should handle the use case of a string being set to indicate a relative future time.

Parameters

int $from_time: A UNIX timestamp used to expire from. This will only be used when the expire value has been set to a relative time in the future, e.g. day, week, month, etc. If not set, this current request time will be used.

Return value

int The UNIX timestamp.

1 method overrides ParsedMarkdownInterface::getExpire()
ParsedMarkdown::getExpire in src/ParsedMarkdown.php
Retrieves the UNIX timestamp for when this object should expire.

File

src/ParsedMarkdownInterface.php, line 86

Class

ParsedMarkdownInterface

Namespace

Drupal\markdown

Code

public function getExpire($from_time = NULL);