Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Developer Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
brienne
Developer Documentation
Commits
05de5a5b
Commit
05de5a5b
authored
8 years ago
by
mickadoo
Browse files
Options
Downloads
Patches
Plain Diff
add redirect for hooks
parent
8c882cb3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/hooks.md
+3
-3
3 additions, 3 deletions
docs/hooks.md
redirects/wiki-crmdoc.txt
+2
-1
2 additions, 1 deletion
redirects/wiki-crmdoc.txt
with
5 additions
and
4 deletions
docs/hooks.md
+
3
−
3
View file @
05de5a5b
...
...
@@ -37,7 +37,7 @@ The two parts that you'll be changing are:
1.
==EXTENSION-NAME==: Depending on your installation this can change. In
[
Drupal
][
drupal
]
it will be the name of your extension. In
[
Joomla
]
(
hooks/enabling-hooks/
joomla
)
it will be "joomla".
[
Joomla
]
[
joomla
]
it will be "joomla".
2.
==HOOK-NAME==: This is the name of the event you want to hook into, for
example
`validateForm`
. You'll need to check the reference for a full list of
hooks that are available.
...
...
@@ -219,5 +219,5 @@ function myextension_civicrm_tokenValues(&$details, $contactIDs, $jobID, $tokens
}
```
[
drupal
]:
hooks/enabling-hooks/drupal
[
joomla
]:
hooks/enabling-hooks/joomla
\ No newline at end of file
[
drupal
]:
hooks/setup/drupal
[
joomla
]:
hooks/setup/joomla
\ No newline at end of file
This diff is collapsed.
Click to expand it.
redirects/wiki-crmdoc.txt
+
2
−
1
View file @
05de5a5b
...
...
@@ -110,4 +110,5 @@ hook_civicrm_searchProfile hooks/hook_civicrm_searchProfile
hook_civicrm_validateProfile hooks/hook_civicrm_validateProfile
hook_civicrm_viewProfile hooks/hook_civicrm_viewProfile
hook_civicrm_alterReportVar hooks/hook_civicrm_alterReportVar
Hook+Reference hooks
Hooks hooks
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