Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mjwshared
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
Container Registry
Model registry
Operate
Environments
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
Extensions
mjwshared
Commits
9a994da6
Commit
9a994da6
authored
1 year ago
by
mattwire
Browse files
Options
Downloads
Patches
Plain Diff
Switch Payment processor webhooks menu entry to managed entity
parent
594c86de
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
managed/navigationmenu.mgd.php
+21
-0
21 additions, 0 deletions
managed/navigationmenu.mgd.php
mjwshared.php
+0
-17
0 additions, 17 deletions
mjwshared.php
with
21 additions
and
17 deletions
managed/navigationmenu.mgd.php
+
21
−
0
View file @
9a994da6
...
...
@@ -24,4 +24,25 @@ return [
'match'
=>
[
'name'
],
],
],
[
'name'
=>
'mjwshared_paymentprocessor_webhooks'
,
'entity'
=>
'Navigation'
,
'cleanup'
=>
'always'
,
'update'
=>
'unmodified'
,
'params'
=>
[
'version'
=>
4
,
'values'
=>
[
'label'
=>
E
::
ts
(
'Payment processor webhooks'
),
'name'
=>
'mjwshared_paymentprocessor_webhooks'
,
'url'
=>
'civicrm/a#/paymentprocessorWebhook'
,
'permission'
=>
'administer payment processors'
,
'permission_operator'
=>
'OR'
,
'parent_id.name'
=>
'CiviContribute'
,
'is_active'
=>
TRUE
,
'has_separator'
=>
0
,
'weight'
=>
90
,
],
'match'
=>
[
'name'
],
],
],
];
This diff is collapsed.
Click to expand it.
mjwshared.php
+
0
−
17
View file @
9a994da6
...
...
@@ -254,20 +254,3 @@ function mjwshared_symfony_preUpdateInsert(\Civi\Core\DAO\Event\PreUpdate $event
}
}
}
/**
* Implements hook_civicrm_navigationMenu().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_navigationMenu
*/
function
mjwshared_civicrm_navigationMenu
(
&
$menu
)
{
_mjwshared_civix_insert_navigation_menu
(
$menu
,
'Administer/CiviContribute'
,
array
(
'label'
=>
E
::
ts
(
'Payment processor webhooks'
),
'name'
=>
'mjwshared_paymentprocessor_webhooks'
,
'url'
=>
'civicrm/a#/paymentprocessorWebhook'
,
'permission'
=>
'administer payment processors'
,
'operator'
=>
'OR'
,
'separator'
=>
0
,
));
_mjwshared_civix_navigationMenu
(
$menu
);
}
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