MediaWiki REL1_39
ForeignApiModule.php
Go to the documentation of this file.
1<?php
22
31 public function getDependencies( Context $context = null ) {
33 $this->getHookRunner()->onResourceLoaderForeignApiModules( $dependencies, $context );
34 return $dependencies;
35 }
36}
37
39class_alias( ForeignApiModule::class, 'ResourceLoaderForeignApiModule' );
Context object that contains information about the state of a specific ResourceLoader web request.
Definition Context.php:46
Module based on local JavaScript/CSS files.
string[] $dependencies
List of modules this module depends on.
Module for mediawiki.ForeignApi and mediawiki.ForeignRest that has dynamically generated dependencies...
getDependencies(Context $context=null)
Get names of modules this module depends on.
getHookRunner()
Get a HookRunner for running core hooks.
Definition Module.php:304