From 1b7b14564301d0ab93358d7c0b748d644b920b5c Mon Sep 17 00:00:00 2001 From: colemanw Date: Sun, 1 Oct 2023 10:26:23 -0400 Subject: [PATCH] RelationshipCache - Add 'add' metadata --- CRM/Contact/DAO/RelationshipCache.php | 3 ++- xml/schema/Contact/RelationshipCache.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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] -- 2.25.1