Fixes and tidies

This commit is contained in:
Rich Lott / Artful Robot 2025-02-27 18:10:48 +00:00
parent e56be4ce31
commit 69d4c6b2e8
11 changed files with 191 additions and 40 deletions

View file

@ -0,0 +1,26 @@
<?php
use CRM_Contactcats_ExtensionUtil as E;
return [
[
'name' => 'OptionValue_Changed_category',
'entity' => 'OptionValue',
'cleanup' => 'unused',
'update' => 'unmodified',
'params' => [
'version' => 4,
'values' => [
'option_group_id.name' => 'activity_type',
'label' => E::ts('Changed category'),
'name' => 'changed_contact_category',
'description' => E::ts('<p>This activity is automatically added when a contact is moved from one category to another.</p>'),
'icon' => 'fa-tags',
],
'match' => [
// Should this be option_group_id.name?
'option_group_id',
'name',
],
],
],
];