Skip to content

ExpirableElementInterface ​

Type
Interface
Namespace
craft\base
Implemented by
craft\elements\Entry
Since
4.3.0

ExpirableElementInterface defines the common interface to be implemented by element classes that can expire.

View source

Public Methods ​

MethodDescription
getExpiryDate()Returns the element’s expiration date/time.

getExpiryDate() ​

Returns the element’s expiration date/time.

View source

Returns ​

DateTime, null