From 88cad97c8fdccc00cb60d0ce9a0b4fc686efef89 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 9 Aug 2022 14:53:40 -0400 Subject: [PATCH] SearchKit - Better title and description for managed entities --- CRM/Core/DAO/Managed.php | 4 ++-- Civi/Api4/Managed.php | 4 ++-- xml/schema/Core/Managed.xml | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CRM/Core/DAO/Managed.php b/CRM/Core/DAO/Managed.php index c073117f92..d0ec645853 100644 --- a/CRM/Core/DAO/Managed.php +++ b/CRM/Core/DAO/Managed.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Managed.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:54b79cae396d1c5044406fc97ae60352) + * (GenCodeChecksum:1ea95018f9b8081559dc9bd33eecb425) */ /** @@ -108,7 +108,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO { * Whether to return the plural version of the title. */ public static function getEntityTitle($plural = FALSE) { - return $plural ? ts('Manageds') : ts('Managed'); + return $plural ? ts('Managed Records') : ts('Managed Record'); } /** diff --git a/Civi/Api4/Managed.php b/Civi/Api4/Managed.php index d10e4fcc15..10b15eafd0 100644 --- a/Civi/Api4/Managed.php +++ b/Civi/Api4/Managed.php @@ -11,9 +11,9 @@ namespace Civi\Api4; /** - * Managed entities API. + * Records "packaged" by extensions and managed by CiviCRM. * - * Managed entities allow extensions to add and manage entities. + * Extensions can package records in a declarative fashion, typically in `.mgd.php` files. * * @searchable secondary * @see https://civicrm.org/blog/totten/api-and-art-installation diff --git a/xml/schema/Core/Managed.xml b/xml/schema/Core/Managed.xml index ee884dfee6..43de469c9d 100644 --- a/xml/schema/Core/Managed.xml +++ b/xml/schema/Core/Managed.xml @@ -7,6 +7,7 @@ List of declaratively managed objects 4.2 false + Managed Record id Managed ID -- 2.25.1