From e78e618d6b32845ca35c2aa29210cf279cdf92f7 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Tue, 21 Aug 2018 15:58:22 +0100 Subject: [PATCH] Added Pseudoconstant tag for visibility --- CRM/Core/DAO/OptionValue.php | 6 +++++- xml/schema/Core/OptionValue.xml | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CRM/Core/DAO/OptionValue.php b/CRM/Core/DAO/OptionValue.php index dbf7059bb1..ba11ef224a 100644 --- a/CRM/Core/DAO/OptionValue.php +++ b/CRM/Core/DAO/OptionValue.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/OptionValue.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:8cf699b034cbd9d7b8fe0a69250a79ba) + * (GenCodeChecksum:c2177ac5574657232c71d57dbf7e0e55) */ /** @@ -395,6 +395,10 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO { 'entity' => 'OptionValue', 'bao' => 'CRM_Core_BAO_OptionValue', 'localizable' => 0, + 'pseudoconstant' => [ + 'optionGroupName' => 'visibility', + 'optionEditPath' => 'civicrm/admin/options/visibility', + ] ], 'icon' => [ 'name' => 'icon', diff --git a/xml/schema/Core/OptionValue.xml b/xml/schema/Core/OptionValue.xml index ac469d7cdc..b86b1efd01 100644 --- a/xml/schema/Core/OptionValue.xml +++ b/xml/schema/Core/OptionValue.xml @@ -182,6 +182,9 @@ int unsigned NULL 2.2 + + visibility + icon -- 2.25.1