RelationshipCache - Add 'add' metadata
authorcolemanw <coleman@civicrm.org>
Sun, 1 Oct 2023 14:26:23 +0000 (10:26 -0400)
committercolemanw <coleman@civicrm.org>
Wed, 4 Oct 2023 00:52:21 +0000 (20:52 -0400)
CRM/Contact/DAO/RelationshipCache.php
xml/schema/Contact/RelationshipCache.xml

index 060f18063798450975aeef4100659f7f25a5e36f..5486d1c3b90fb154e26b097681f6ac36acd7c45c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:422520600ff998c1a9203004ae958e8c)
+ * (GenCodeChecksum:9170513963860f5b9cadce190a68b8bf)
  */
 
 /**
@@ -43,6 +43,7 @@ class CRM_Contact_DAO_RelationshipCache extends CRM_Core_DAO {
    * @var string[]
    */
   protected static $_paths = [
+    'add' => 'civicrm/contact/view/rel?cid=[near_contact_id]&action=add&reset=1',
     'view' => 'civicrm/contact/view/rel?action=view&reset=1&cid=[near_contact_id]&id=[relationship_id]',
     'update' => 'civicrm/contact/view/rel?action=update&reset=1&cid=[near_contact_id]&id=[relationship_id]&rtype=[orientation]',
     'delete' => 'civicrm/contact/view/rel?action=delete&reset=1&cid=[near_contact_id]&id=[relationship_id]',
index 01452ce0737dddf1d1be456fb2f688605a5e1b4e..3edc7867ffc7c3f276ab57644b6bf89470d584f6 100644 (file)
@@ -10,6 +10,7 @@
   <icon>fa-handshake-o</icon>
   <title>Related Contact</title>
   <paths>
+    <add>civicrm/contact/view/rel?cid=[near_contact_id]&amp;action=add&amp;reset=1</add>
     <view>civicrm/contact/view/rel?action=view&amp;reset=1&amp;cid=[near_contact_id]&amp;id=[relationship_id]</view>
     <update>civicrm/contact/view/rel?action=update&amp;reset=1&amp;cid=[near_contact_id]&amp;id=[relationship_id]&amp;rtype=[orientation]</update>
     <delete>civicrm/contact/view/rel?action=delete&amp;reset=1&amp;cid=[near_contact_id]&amp;id=[relationship_id]</delete>