From: colemanw Date: Sun, 1 Oct 2023 14:26:23 +0000 (-0400) Subject: RelationshipCache - Add 'add' metadata X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1b7b14564301d0ab93358d7c0b748d644b920b5c;p=civicrm-core.git RelationshipCache - Add 'add' metadata --- diff --git a/CRM/Contact/DAO/RelationshipCache.php b/CRM/Contact/DAO/RelationshipCache.php index 060f180637..5486d1c3b9 100644 --- a/CRM/Contact/DAO/RelationshipCache.php +++ b/CRM/Contact/DAO/RelationshipCache.php @@ -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]', diff --git a/xml/schema/Contact/RelationshipCache.xml b/xml/schema/Contact/RelationshipCache.xml index 01452ce073..3edc7867ff 100644 --- a/xml/schema/Contact/RelationshipCache.xml +++ b/xml/schema/Contact/RelationshipCache.xml @@ -10,6 +10,7 @@ fa-handshake-o Related Contact + civicrm/contact/view/rel?cid=[near_contact_id]&action=add&reset=1 civicrm/contact/view/rel?action=view&reset=1&cid=[near_contact_id]&id=[relationship_id] civicrm/contact/view/rel?action=update&reset=1&cid=[near_contact_id]&id=[relationship_id]&rtype=[orientation] civicrm/contact/view/rel?action=delete&reset=1&cid=[near_contact_id]&id=[relationship_id]