Merge branch '5.51' of github.com:civicrm/civicrm-core into up
[civicrm-core.git] / Civi / Api4 / SavedSearch.php
index ddf6704add3d725c016631d9c46e2d6194d286cc..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 none
+ * @searchable secondary
  * @since 5.24
  * @package Civi\Api4
  */
 class SavedSearch extends Generic\DAOEntity {
 
+  use Generic\Traits\ManagedEntity;
+
   public static function permissions() {
     $permissions = parent::permissions();
     $permissions['get'] = ['access CiviCRM'];