MediaWiki  master
ResourceLoaderForeignApiModule.php
Go to the documentation of this file.
1 <?php
29  public function getDependencies( ResourceLoaderContext $context = null ) {
31  Hooks::run( 'ResourceLoaderForeignApiModules', [ &$dependencies, $context ] );
32  return $dependencies;
33  }
34 }
$context
Definition: load.php:45
array $dependencies
List of modules this module depends on.
getDependencies(ResourceLoaderContext $context=null)
Module based on local JavaScript/CSS files.
Module for mediawiki.ForeignApi that has dynamically generated dependencies, via a hook usable by ext...
static run( $event, array $args=[], $deprecatedVersion=null)
Call hook functions defined in Hooks::register and $wgHooks.
Definition: Hooks.php:200
Context object that contains information about the state of a specific ResourceLoader web request...