Merge pull request #22682 from agileware/CIVICRM-1922
[civicrm-core.git] / ext / civigrant / managed / OptionValue_cg_extends_objects_grant.mgd.php
CommitLineData
3d2f86c5
CW
1<?php
2use CRM_Grant_ExtensionUtil as E;
3
4// This enables custom fields for Grant entities
5return [
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];