mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-26 01:48:06 +02:00
26 lines
700 B
PHP
26 lines
700 B
PHP
<?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',
|
|
],
|
|
],
|
|
],
|
|
];
|