Page MenuHomeWickedGov Phorge

ValidateExtendedMetadataCacheHook.php
No OneTemporary

Size
767 B
Referenced Files
None
Subscribers
None

ValidateExtendedMetadataCacheHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\FileRepo\File\File;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ValidateExtendedMetadataCache" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface ValidateExtendedMetadataCacheHook {
/**
* Use this hook to validate the cached metadata in
* FormatMetadata::getExtendedMeta.
*
* @since 1.35
*
* @param string $timestamp Timestamp metadata was generated
* @param File $file File the metadata is for
* @return bool|void True or no return value to continue, or false to
* invalidate cache and call GetExtendedMetadata hook again
*/
public function onValidateExtendedMetadataCache( $timestamp, $file );
}

File Metadata

Mime Type
text/x-php
Expires
Aug 18 2026, 11:34 (5 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1e/39/1fbbb958a141511b8d7561bd3241
Default Alt Text
ValidateExtendedMetadataCacheHook.php (767 B)

Event Timeline