-
-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CiviGrant - Migrate navigation menu to extension
- Loading branch information
Showing
4 changed files
with
235 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
<?php | ||
return [ | ||
[ | ||
'name' => 'Navigation_Grants', | ||
'entity' => 'Navigation', | ||
'cleanup' => 'unused', | ||
'update' => 'unmodified', | ||
'params' => [ | ||
'version' => 4, | ||
'values' => [ | ||
'label' => 'Grants', | ||
'name' => 'Grants', | ||
'url' => NULL, | ||
'icon' => 'crm-i fa-money', | ||
'permission' => 'access CiviGrant', | ||
'permission_operator' => '', | ||
'is_active' => TRUE, | ||
'weight' => 90, | ||
'parent_id' => NULL, | ||
'has_separator' => NULL, | ||
'domain_id' => 'current_domain', | ||
], | ||
], | ||
], | ||
[ | ||
'name' => 'Navigation_Grants_Navigation_Dashboard', | ||
'entity' => 'Navigation', | ||
'cleanup' => 'unused', | ||
'update' => 'unmodified', | ||
'params' => [ | ||
'version' => 4, | ||
'values' => [ | ||
'label' => 'Dashboard', | ||
'name' => 'Dashboard', | ||
'url' => 'civicrm/grant?reset=1', | ||
'icon' => NULL, | ||
'permission' => 'access CiviGrant', | ||
'permission_operator' => '', | ||
'parent_id.name' => 'Grants', | ||
'is_active' => TRUE, | ||
'has_separator' => NULL, | ||
'domain_id' => 'current_domain', | ||
], | ||
], | ||
], | ||
[ | ||
'name' => 'Navigation_Grants_Navigation_New_Grant', | ||
'entity' => 'Navigation', | ||
'cleanup' => 'unused', | ||
'update' => 'unmodified', | ||
'params' => [ | ||
'version' => 4, | ||
'values' => [ | ||
'label' => 'New Grant', | ||
'name' => 'New Grant', | ||
'url' => 'civicrm/grant/add?reset=1&action=add&context=standalone', | ||
'icon' => NULL, | ||
'permission' => 'access CiviGrant,edit grants', | ||
'permission_operator' => 'AND', | ||
'parent_id.name' => 'Grants', | ||
'is_active' => TRUE, | ||
'has_separator' => NULL, | ||
'domain_id' => 'current_domain', | ||
], | ||
], | ||
], | ||
[ | ||
'name' => 'Navigation_Grants_Navigation_Find_Grants', | ||
'entity' => 'Navigation', | ||
'cleanup' => 'unused', | ||
'update' => 'unmodified', | ||
'params' => [ | ||
'version' => 4, | ||
'values' => [ | ||
'label' => 'Find Grants', | ||
'name' => 'Find Grants', | ||
'url' => 'civicrm/grant/search?reset=1', | ||
'icon' => NULL, | ||
'permission' => 'access CiviGrant', | ||
'permission_operator' => '', | ||
'parent_id.name' => 'Grants', | ||
'is_active' => TRUE, | ||
'has_separator' => '1', | ||
'domain_id' => 'current_domain', | ||
], | ||
], | ||
], | ||
[ | ||
'name' => 'Navigation_CiviGrant', | ||
'entity' => 'Navigation', | ||
'cleanup' => 'unused', | ||
'update' => 'unmodified', | ||
'params' => [ | ||
'version' => 4, | ||
'values' => [ | ||
'label' => 'CiviGrant', | ||
'name' => 'CiviGrant', | ||
'url' => NULL, | ||
'icon' => NULL, | ||
'permission' => 'access CiviGrant,administer CiviCRM', | ||
'permission_operator' => 'AND', | ||
'parent_id.name' => 'Administer', | ||
'is_active' => TRUE, | ||
'weight' => 13, | ||
'has_separator' => NULL, | ||
'domain_id' => 'current_domain', | ||
], | ||
], | ||
], | ||
[ | ||
'name' => 'Navigation_CiviGrant_Navigation_Grant_Types', | ||
'entity' => 'Navigation', | ||
'cleanup' => 'unused', | ||
'update' => 'unmodified', | ||
'params' => [ | ||
'version' => 4, | ||
'values' => [ | ||
'label' => 'Grant Types', | ||
'name' => 'Grant Types', | ||
'url' => 'civicrm/admin/options/grant_type?reset=1', | ||
'icon' => NULL, | ||
'permission' => 'access CiviGrant,administer CiviCRM', | ||
'permission_operator' => 'AND', | ||
'parent_id.name' => 'CiviGrant', | ||
'is_active' => TRUE, | ||
'weight' => 1, | ||
'has_separator' => NULL, | ||
'domain_id' => 'current_domain', | ||
], | ||
], | ||
], | ||
[ | ||
'name' => 'Navigation_CiviGrant_Navigation_Grant_Status', | ||
'entity' => 'Navigation', | ||
'cleanup' => 'unused', | ||
'update' => 'unmodified', | ||
'params' => [ | ||
'version' => 4, | ||
'values' => [ | ||
'label' => 'Grant Status', | ||
'name' => 'Grant Status', | ||
'url' => 'civicrm/admin/options/grant_status?reset=1', | ||
'icon' => NULL, | ||
'permission' => 'access CiviGrant,administer CiviCRM', | ||
'permission_operator' => 'AND', | ||
'parent_id.name' => 'CiviGrant', | ||
'is_active' => TRUE, | ||
'weight' => 2, | ||
'has_separator' => NULL, | ||
'domain_id' => 'current_domain', | ||
], | ||
], | ||
], | ||
[ | ||
'name' => 'Navigation_Grants_Navigation_Grant_Reports', | ||
'entity' => 'Navigation', | ||
'cleanup' => 'unused', | ||
'update' => 'unmodified', | ||
'params' => [ | ||
'version' => 4, | ||
'values' => [ | ||
'label' => 'Grant Reports', | ||
'name' => 'Grant Reports', | ||
'url' => 'civicrm/report/list?compid=5&reset=1', | ||
'icon' => NULL, | ||
'permission' => 'access CiviGrant', | ||
'permission_operator' => '', | ||
'parent_id.name' => 'Grants', | ||
'is_active' => TRUE, | ||
'has_separator' => NULL, | ||
'domain_id' => 'current_domain', | ||
], | ||
], | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters