MediaWiki master
GetExtendedMetadataHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use File;
7
34 public function onGetExtendedMetadata( &$combinedMeta, $file, $context,
35 $single, &$maxCacheTime
36 );
37}
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition File.php:73
Interface for objects which can provide a MediaWiki context on request.
This is a hook handler interface, see docs/Hooks.md.
onGetExtendedMetadata(&$combinedMeta, $file, $context, $single, &$maxCacheTime)
Use this hook to get extended file metadata for the API.