Streamline Hooks section in extension.json

Main motivation here is to make the list easier to read. We are not
going to have more than a single hook handler per hook anyway.

Bug: T236260
Change-Id: I72357a89402e6febfa1e99f825a3fd699c5561b7
This commit is contained in:
Thiemo Kreuz 2019-10-25 10:28:08 +02:00
parent f743aa058e
commit a037f76317

View file

@ -31,27 +31,13 @@
}
},
"Hooks": {
"ParserFirstCallInit": [
"Cite::setHooks"
],
"ContentHandlerDefaultModelFor": [
"CiteHooks::onContentHandlerDefaultModelFor"
],
"ResourceLoaderTestModules": [
"CiteHooks::onResourceLoaderTestModules"
],
"ResourceLoaderRegisterModules": [
"CiteHooks::onResourceLoaderRegisterModules"
],
"LinksUpdate": [
"CiteHooks::onLinksUpdate"
],
"LinksUpdateComplete": [
"CiteHooks::onLinksUpdateComplete"
],
"ResourceLoaderGetConfigVars": [
"CiteHooks::onResourceLoaderGetConfigVars"
],
"ParserFirstCallInit": "Cite::setHooks",
"ContentHandlerDefaultModelFor": "CiteHooks::onContentHandlerDefaultModelFor",
"ResourceLoaderTestModules": "CiteHooks::onResourceLoaderTestModules",
"ResourceLoaderRegisterModules": "CiteHooks::onResourceLoaderRegisterModules",
"LinksUpdate": "CiteHooks::onLinksUpdate",
"LinksUpdateComplete": "CiteHooks::onLinksUpdateComplete",
"ResourceLoaderGetConfigVars": "CiteHooks::onResourceLoaderGetConfigVars",
"APIQuerySiteInfoGeneralInfo": "CiteHooks::onAPIQuerySiteInfoGeneralInfo"
},
"ResourceModules": {