Skip to content

Kirby 5.0.4

$storage->modified()

Returns the modification timestamp of a version if it exists

$storage->modified() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$storage->modified(Kirby\Content\VersionId $versionId, Kirby\Cms\Language $language): int|null

Parameters

Name Type Default
$versionIdrequired Kirby\Content\VersionId no default value
$languagerequired Kirby\Cms\Language no default value

Return types

intornull

This method modifies the existing $storage object it is applied to and returns it again.

Parent class

Kirby\Content\Storage