mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-25 09:58:04 +02:00
lots
This commit is contained in:
parent
3b393be4f4
commit
0b96026602
17 changed files with 458 additions and 38 deletions
27
managed/activity-type-changed-cc.mgd.php
Normal file
27
managed/activity-type-changed-cc.mgd.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
use CRM_Contactcats_ExtensionUtil as E;
|
||||
|
||||
return [
|
||||
[
|
||||
'name' => 'OptionValue_Changed_Contact_Category',
|
||||
'entity' => 'OptionValue',
|
||||
'cleanup' => 'unused',
|
||||
'update' => 'unmodified',
|
||||
'params' => [
|
||||
'version' => 4,
|
||||
'values' => [
|
||||
'option_group_id.name' => 'activity_type',
|
||||
'label' => E::ts('Changed Contact Category'),
|
||||
'value' => '57',
|
||||
'name' => 'changed_contact_category',
|
||||
'weight' => 57,
|
||||
'icon' => 'fa-tags',
|
||||
],
|
||||
'match' => [
|
||||
'option_group_id',
|
||||
'name',
|
||||
'value',
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
50
managed/options.mgd.php
Normal file
50
managed/options.mgd.php
Normal file
|
@ -0,0 +1,50 @@
|
|||
<?php
|
||||
use CRM_Contactcats_ExtensionUtil as E;
|
||||
|
||||
return [
|
||||
[
|
||||
'name' => 'OptionGroup_contact_categories',
|
||||
'entity' => 'OptionGroup',
|
||||
'cleanup' => 'unused',
|
||||
'update' => 'unmodified',
|
||||
'params' => [
|
||||
'version' => 4,
|
||||
'values' => [
|
||||
'name' => 'contact_categories',
|
||||
'title' => E::ts('Contact Categories'),
|
||||
'data_type' => 'Integer',
|
||||
'is_reserved' => FALSE,
|
||||
'is_active' => TRUE,
|
||||
'option_value_fields' => [
|
||||
'name',
|
||||
'label',
|
||||
'description',
|
||||
],
|
||||
],
|
||||
'match' => [
|
||||
'name',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'OptionGroup_contact_categories_OptionValue_Default',
|
||||
'entity' => 'OptionValue',
|
||||
'cleanup' => 'unused',
|
||||
'update' => 'unmodified',
|
||||
'params' => [
|
||||
'version' => 4,
|
||||
'values' => [
|
||||
'option_group_id.name' => 'contact_categories',
|
||||
'label' => E::ts('Default'),
|
||||
'is_active' => TRUE,
|
||||
'value' => '0',
|
||||
'name' => 'default',
|
||||
],
|
||||
'match' => [
|
||||
'option_group_id',
|
||||
'name',
|
||||
'value',
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue