From db1cf50b183c1013f0e140fbfb5a513e2e3bdc2c Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 19 Jan 2023 10:11:42 -0500 Subject: [PATCH] OptionGroup - Add paths metadata --- CRM/Core/DAO/OptionGroup.php | 12 +++++++++++- xml/schema/Core/OptionGroup.xml | 4 ++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CRM/Core/DAO/OptionGroup.php b/CRM/Core/DAO/OptionGroup.php index 9f909157ef..8d1e0b423a 100644 --- a/CRM/Core/DAO/OptionGroup.php +++ b/CRM/Core/DAO/OptionGroup.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/OptionGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1d5fad72032ebfdfdce93a4b29f97542) + * (GenCodeChecksum:cccb007e18d25b34d3af8fd583ade04b) */ /** @@ -37,6 +37,16 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO { */ public static $_log = TRUE; + /** + * Paths for accessing this entity in the UI. + * + * @var string[] + */ + protected static $_paths = [ + 'add' => 'civicrm/admin/options?action=add&reset=1', + 'update' => 'civicrm/admin/options?action=update&reset=1&id=[id]', + ]; + /** * Option Group ID * diff --git a/xml/schema/Core/OptionGroup.xml b/xml/schema/Core/OptionGroup.xml index 25469867cb..84c8db3276 100644 --- a/xml/schema/Core/OptionGroup.xml +++ b/xml/schema/Core/OptionGroup.xml @@ -6,6 +6,10 @@ civicrm_option_group 1.5 true + + civicrm/admin/options?action=add&reset=1 + civicrm/admin/options?action=update&reset=1&id=[id] + id Option Group ID -- 2.25.1