Add @searchable annotation to denote which API entities should be visible in Search...
[civicrm-core.git] / Civi / Api4 / CustomField.php
index 7ac3b10657129ea75b948e97d3fc152a877c83b3..1d4b7e104bdc5d4870dc104d5bda3c42e5c7c68d 100644 (file)
@@ -23,7 +23,7 @@ namespace Civi\Api4;
  * CustomField entity.
  *
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/
- *
+ * @searchable false
  * @package Civi\Api4
  */
 class CustomField extends Generic\DAOEntity {