Merge pull request #22992 from eileenmcnaughton/billingnot
[civicrm-core.git] / CRM / Core / SelectValues.php
index a6991c0834199e6bbfcbf43e83350b36738ffdba..6f309fedd5703cd2d4487f2514fd593a579d559f 100644 (file)
@@ -1176,4 +1176,21 @@ class CRM_Core_SelectValues {
     ];
   }
 
+  /**
+   * Columns from the option_value table which may or may not be used by each option_group.
+   *
+   * Note: Value is not listed here as it is not optional.
+   *
+   * @return string[]
+   */
+  public static function optionValueFields() {
+    return [
+      'name' => 'name',
+      'label' => 'label',
+      'description' => 'description',
+      'icon' => 'icon',
+      'color' => 'color',
+    ];
+  }
+
 }