X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FApi4%2FGeneric%2FTraits%2FOptionList.php;h=70936e0119af9d24111cc5f86f304978e16e0405;hb=09815e9cfa257852ee210ce7a045007d14638b79;hp=fb400cc55eef077f20e432fd3c6580664617f510;hpb=f6c3885f7a19240b6c8c2ec0ba1cc5447790049d;p=civicrm-core.git diff --git a/Civi/Api4/Generic/Traits/OptionList.php b/Civi/Api4/Generic/Traits/OptionList.php index fb400cc55e..70936e0119 100644 --- a/Civi/Api4/Generic/Traits/OptionList.php +++ b/Civi/Api4/Generic/Traits/OptionList.php @@ -15,6 +15,9 @@ namespace Civi\Api4\Generic\Traits; * An optionList is a small entity whose primary purpose is to supply a semi-static list of options to fields in other entities. * * The options appear in the field metadata for other entities that reference this one via pseudoconstant. + * + * Note: At time of writing, this trait does nothing except toggle the searchable flag, (and adds "OptionList" to the "type" in Entity::get() metadata). + * @searchable false (FYI annotation isn't functional because this is a trait - workaround in AbstractEntity::getInfo) */ trait OptionList {