Merge pull request #22203 from colemanw/revertContactDeletePermission
[civicrm-core.git] / Civi / Api4 / CustomField.php
index 533644f548d24eac1c435ea7fc10790056fd1062..37be6eb2b45f37b12722bbdac56a6e18ad4d57b8 100644 (file)
@@ -14,11 +14,13 @@ namespace Civi\Api4;
  * CustomField entity.
  *
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/
- * @searchable none
+ * @searchable secondary
+ * @orderBy weight
  * @since 5.19
  * @package Civi\Api4
  */
 class CustomField extends Generic\DAOEntity {
   use Generic\Traits\ManagedEntity;
+  use Generic\Traits\SortableEntity;
 
 }