<?php
-
/*
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC. All rights reserved. |
| and copyright information, see https://civicrm.org/licensing |
+--------------------------------------------------------------------+
*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
namespace Civi\Api4;
/**
* RelationshipCache - readonly table to facilitate joining and finding contacts by relationship.
*
+ * @searchable secondary
* @see \Civi\Api4\Relationship
* @ui_join_filters near_relation
+ * @since 5.29
* @package Civi\Api4
*/
class RelationshipCache extends Generic\AbstractEntity {
*/
public static function getInfo() {
$info = parent::getInfo();
+ $info['bridge_title'] = ts('Relationship');
$info['bridge'] = [
'near_contact_id' => ['description' => ts('One or more contacts with a relationship to this contact')],
'far_contact_id' => ['description' => ts('One or more contacts with a relationship to this contact')],