mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-27 03:47:18 +02:00
Fixes and tidies
This commit is contained in:
parent
e56be4ce31
commit
69d4c6b2e8
11 changed files with 191 additions and 40 deletions
26
managed/OptionValue_Changed_category.mgd.php
Normal file
26
managed/OptionValue_Changed_category.mgd.php
Normal 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',
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue