Merge branch '5.51' of github.com:civicrm/civicrm-core into up
[civicrm-core.git] / Civi / Api4 / SavedSearch.php
index 74dd21cef1731aa9207ca67cb56ca2e57e708a6a..d3954d5a464e1e8a5584949fb29d2e867a7e205a 100644 (file)
 namespace Civi\Api4;
 
 /**
- * SavedSearch aka Smart Groups.
+ * SavedSearch entity.
  *
- * Stores search parameters for populating smart groups with live results.
+ * Stores search criteria for smart groups and SearchKit displays.
  *
+ * @see https://docs.civicrm.org/user/en/latest/the-user-interface/search-kit/
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/smart-groups/
  * @searchable secondary
  * @since 5.24
@@ -22,6 +23,8 @@ namespace Civi\Api4;
  */
 class SavedSearch extends Generic\DAOEntity {
 
+  use Generic\Traits\ManagedEntity;
+
   public static function permissions() {
     $permissions = parent::permissions();
     $permissions['get'] = ['access CiviCRM'];