ref: 621e4a8cf2087fc1e408305186efbfe9fef22744 arborchat/specifications/twig-extensions/expiration/index.md -rw-r--r-- 463 bytes
621e4a8cAndrew Thorp Add invisible metadata specification 6 months ago


Expiration encodes an expiration date-time. A node that contains this metadata field should not be valid/relevant after the encoded date-time.


Expiration is designed to be somewhat atomic. It doesn't strictly rely on any other twig extensions and can be used as a building block for more complex behavior.

An example API usage would check the expiration data/date and determine if the node is expired or not: expiration.isExpired(node).