Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4097973
BeforeAddModulesHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
621 B
Referenced Files
None
Subscribers
None
BeforeAddModulesHook.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
MediaWiki\Extension\Translate\TranslatorInterface
;
/**
* This is a hook handler interface, see docs/Hooks.md in core.
* Use the hook name "TranslateBeforeAddModules" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
BeforeAddModulesHook
{
/**
* Provides an opportunity to load extra modules
*
* @param string[] &$modules List of resource loader module names
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onTranslateBeforeAddModules
(
array
&
$modules
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Aug 18, 15:08 (3 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4e/5e/d2e45335def7b92e4dc22aaf7f7b
Default Alt Text
BeforeAddModulesHook.php (621 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment