Commit | Line | Data |
---|---|---|
3d2f86c5 CW |
1 | <?php |
2 | use CRM_Grant_ExtensionUtil as E; | |
3 | ||
4 | // This enables custom fields for Grant entities | |
5 | return [ | |
6 | [ | |
7 | 'name' => 'cg_extend_objects:Grant', | |
8 | 'entity' => 'OptionValue', | |
9 | 'cleanup' => 'always', | |
10 | 'update' => 'always', | |
11 | 'params' => [ | |
12 | 'version' => 4, | |
13 | 'values' => [ | |
14 | 'option_group_id.name' => 'cg_extend_objects', | |
15 | 'label' => E::ts('Grants'), | |
16 | 'value' => 'Grant', | |
17 | 'name' => 'civicrm_grant', | |
18 | 'is_reserved' => TRUE, | |
19 | 'is_active' => TRUE, | |
20 | 'grouping' => 'grant_type_id', | |
21 | ], | |
22 | ], | |
23 | ], | |
24 | ]; |