SearchKit - Better title and description for managed entities
authorColeman Watts <coleman@civicrm.org>
Tue, 9 Aug 2022 18:53:40 +0000 (14:53 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 9 Aug 2022 18:53:40 +0000 (14:53 -0400)
CRM/Core/DAO/Managed.php
Civi/Api4/Managed.php
xml/schema/Core/Managed.xml

index c073117f92c43089783242910969f1db73099668..d0ec645853c064f3733b945b8f8c491fcdd7413a 100644 (file)
@@ -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');
   }
 
   /**
index d10e4fcc158c8bded2ca66ab1cea22b02bcf4f90..10b15eafd014d4c3186c1d9a3a3d2c44dd0e95b0 100644 (file)
@@ -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
index ee884dfee695315cdfac1b5d6422358f0d3ca9a5..43de469c9d367d84ef09c376865de9773a8a8168 100644 (file)
@@ -7,6 +7,7 @@
   <comment>List of declaratively managed objects</comment>
   <add>4.2</add>
   <log>false</log>
+  <title>Managed Record</title>
   <field>
     <name>id</name>
     <title>Managed ID</title>