X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FApi4%2FEntity.php;h=6f91044bd04aca05b7a848efb10df3e5b29b3688;hb=aa998597498411d97d304da2a8cc5ed3c6dcdcc4;hp=31b3aeed6c4af582916c2748704ece71a9ef8bf2;hpb=27d31a0ff5d38d9b7a7693a347edac5db087530e;p=civicrm-core.git diff --git a/Civi/Api4/Entity.php b/Civi/Api4/Entity.php index 31b3aeed6c..6f91044bd0 100644 --- a/Civi/Api4/Entity.php +++ b/Civi/Api4/Entity.php @@ -24,6 +24,7 @@ namespace Civi\Api4; * * @see \Civi\Api4\Generic\AbstractEntity * + * @searchable none * @package Civi\Api4 */ class Entity extends Generic\AbstractEntity { @@ -90,7 +91,12 @@ class Entity extends Generic\AbstractEntity { ], [ 'name' => 'searchable', - 'description' => 'Should this entity be selectable in search kit UI', + 'description' => 'How should this entity be presented in search UIs', + 'options' => [ + 'primary' => ts('Primary'), + 'secondary' => ts('Secondary'), + 'none' => ts('None'), + ], ], [ 'name' => 'paths',