Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Feeds
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MickGe
Feeds
Commits
5914f319
Commit
5914f319
authored
9 years ago
by
Andrew Dolgov
Browse files
Options
Downloads
Patches
Plain Diff
pluginhost: mention that update task & housekeeping hooks are for global plugins only
parent
6de3a1be
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
classes/pluginhost.php
+5
-2
5 additions, 2 deletions
classes/pluginhost.php
with
5 additions
and
2 deletions
classes/pluginhost.php
+
5
−
2
View file @
5914f319
...
@@ -15,13 +15,16 @@ class PluginHost {
...
@@ -15,13 +15,16 @@ class PluginHost {
const
API_VERSION
=
2
;
const
API_VERSION
=
2
;
// Hooks marked with *1 are run in global context and available
// to plugins loaded in config.php only
const
HOOK_ARTICLE_BUTTON
=
1
;
const
HOOK_ARTICLE_BUTTON
=
1
;
const
HOOK_ARTICLE_FILTER
=
2
;
const
HOOK_ARTICLE_FILTER
=
2
;
const
HOOK_PREFS_TAB
=
3
;
const
HOOK_PREFS_TAB
=
3
;
const
HOOK_PREFS_TAB_SECTION
=
4
;
const
HOOK_PREFS_TAB_SECTION
=
4
;
const
HOOK_PREFS_TABS
=
5
;
const
HOOK_PREFS_TABS
=
5
;
const
HOOK_FEED_PARSED
=
6
;
const
HOOK_FEED_PARSED
=
6
;
const
HOOK_UPDATE_TASK
=
7
;
const
HOOK_UPDATE_TASK
=
7
;
// *1
const
HOOK_AUTH_USER
=
8
;
const
HOOK_AUTH_USER
=
8
;
const
HOOK_HOTKEY_MAP
=
9
;
const
HOOK_HOTKEY_MAP
=
9
;
const
HOOK_RENDER_ARTICLE
=
10
;
const
HOOK_RENDER_ARTICLE
=
10
;
...
@@ -38,7 +41,7 @@ class PluginHost {
...
@@ -38,7 +41,7 @@ class PluginHost {
const
HOOK_PREFS_SAVE_FEED
=
21
;
const
HOOK_PREFS_SAVE_FEED
=
21
;
const
HOOK_FETCH_FEED
=
22
;
const
HOOK_FETCH_FEED
=
22
;
const
HOOK_QUERY_HEADLINES
=
23
;
const
HOOK_QUERY_HEADLINES
=
23
;
const
HOOK_HOUSE_KEEPING
=
24
;
const
HOOK_HOUSE_KEEPING
=
24
;
// *1
const
HOOK_SEARCH
=
25
;
const
HOOK_SEARCH
=
25
;
const
HOOK_FORMAT_ENCLOSURES
=
26
;
const
HOOK_FORMAT_ENCLOSURES
=
26
;
const
HOOK_SUBSCRIBE_FEED
=
27
;
const
HOOK_SUBSCRIBE_FEED
=
27
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment