Page MenuHomeWickedGov Phorge

ValidateExtendedMetadataCacheHook.php
No OneTemporary

Size
743 B
Referenced Files
None
Subscribers
None

ValidateExtendedMetadataCacheHook.php

<?php
namespace MediaWiki\Hook;
use 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
Sat, Oct 3, 02:38 (4 w, 15 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
eb/6e/4b1342520f4eba2266d398ac9243
Default Alt Text
ValidateExtendedMetadataCacheHook.php (743 B)

Event Timeline