From 81ea649611606b7c0a1cdc847f93976b5603a414 Mon Sep 17 00:00:00 2001 From: colemanw Date: Tue, 12 Sep 2023 21:22:55 -0400 Subject: [PATCH] CiviGrant - Add missing note_used_for metadata --- .../OptionValue_note_used_for_grant.mgd.php | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 ext/civigrant/managed/OptionValue_note_used_for_grant.mgd.php diff --git a/ext/civigrant/managed/OptionValue_note_used_for_grant.mgd.php b/ext/civigrant/managed/OptionValue_note_used_for_grant.mgd.php new file mode 100644 index 0000000000..2976588f7f --- /dev/null +++ b/ext/civigrant/managed/OptionValue_note_used_for_grant.mgd.php @@ -0,0 +1,27 @@ + 'note_used_for:Grant', + 'entity' => 'OptionValue', + 'cleanup' => 'always', + 'update' => 'always', + 'params' => [ + 'version' => 4, + 'values' => [ + 'option_group_id.name' => 'note_used_for', + 'label' => E::ts('Grants'), + 'value' => 'civicrm_grant', + 'name' => 'Grant', + 'is_reserved' => TRUE, + 'is_active' => TRUE, + ], + 'match' => [ + 'name', + 'option_group_id', + ], + ], + ], +]; -- 2.25.1