From f28ee43554ab2f0001405aaec69d6dad014f0129 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 2 Jun 2021 17:51:05 -0700 Subject: [PATCH] (NFC) CRM_Utils_Hook::translateFields - Tidy up comments The previous comments reflected a developmental iteration. --- CRM/Utils/Hook.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index 93595de721..f1da9afb10 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -1811,13 +1811,9 @@ abstract class CRM_Utils_Hook { * @param array $fields * List of data fields to translate, organized by table and column. * Omitted/unlisted fields are not translated. Any listed field may be translated. - * Values should be TRUE-ish. + * Values should be TRUE. * Ex: $fields['civicrm_event']['summary'] = TRUE - * Ex: $fields['civicrm_event']['summary'] = 'yesplease'; - * - * At time of writing, the `$fields` list x is prepopulated based on `` fields in core's `xml/schema`. - * In the future, it may also be prepopulated with `` fields in ext's `xml/schema`. - * For the interim, you may wish to fill-in `` fields from ext's. + * @return mixed */ public static function translateFields(&$fields) { return self::singleton()->invoke(['fields'], $fields, self::$_nullObject, -- 2.25.1