Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7430337
ValidateExtendedMetadataCacheHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
743 B
Referenced Files
None
Subscribers
None
ValidateExtendedMetadataCacheHook.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 10:25 (8 h, 9 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
eb/6e/4b1342520f4eba2266d398ac9243
Default Alt Text
ValidateExtendedMetadataCacheHook.php (743 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment