Skip to content

Commit

Permalink
Merge pull request #19 from colemanw/afformEntityIcon
Browse files Browse the repository at this point in the history
Add icon to ContactNamePair and remove redundant keys from Afform entity
  • Loading branch information
eileenmcnaughton authored Jun 6, 2021
2 parents 385a422 + 449046c commit 8d0cc70
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
9 changes: 8 additions & 1 deletion CRM/Deduper/DAO/ContactNamePair.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from deduper/xml/schema/CRM/Deduper/ContactNamePair.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:c6ca9e954268d2ef31c012aacaf1beab)
* (GenCodeChecksum:14169dfb608f5f20181c3b38897af46b)
*/
use CRM_Deduper_ExtensionUtil as E;

Expand All @@ -24,6 +24,13 @@ class CRM_Deduper_DAO_ContactNamePair extends CRM_Core_DAO {
*/
public static $_tableName = 'civicrm_contact_name_pair';

/**
* Icon associated with this entity.
*
* @var string
*/
public static $_icon = 'fa-random';

/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
Expand Down
2 changes: 0 additions & 2 deletions afformEntities/ContactNamePair.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<?php
return [
'entity' => 'ContactNamePair',
'label' => 'Equivalent name pair',
'defaults' => "{'url-autofill': '1'}",
];
1 change: 1 addition & 0 deletions xml/schema/CRM/Deduper/ContactNamePair.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<class>ContactNamePair</class>
<name>civicrm_contact_name_pair</name>
<comment>Pairs of names which are equivalent</comment>
<icon>fa-random</icon>
<log>true</log>

<field>
Expand Down

0 comments on commit 8d0cc70

Please sign in to comment.