MediaWiki REL1_37
ResourceLoaderForeignApiModule.php
Go to the documentation of this file.
1<?php
29 public function getDependencies( ResourceLoaderContext $context = null ) {
31 $this->getHookRunner()->onResourceLoaderForeignApiModules( $dependencies, $context );
32 return $dependencies;
33 }
34}
Context object that contains information about the state of a specific ResourceLoader web request.
Module based on local JavaScript/CSS files.
array $dependencies
List of modules this module depends on.
Module for mediawiki.ForeignApi and mediawiki.ForeignRest that has dynamically generated dependencies...
getDependencies(ResourceLoaderContext $context=null)
Gets list of names of modules this module depends on.
getHookRunner()
Get a HookRunner for running core hooks.