PseudoConstant - Prevent fatal when entity not available
authorcolemanw <coleman@civicrm.org>
Thu, 7 Sep 2023 17:38:12 +0000 (13:38 -0400)
committercolemanw <coleman@civicrm.org>
Thu, 7 Sep 2023 18:37:40 +0000 (14:37 -0400)
commitf16e658b081eaf3e95125f983fc19caa210a63d3
tree0fded957061cda776064ad930bc413b47112950a
parenta6c94a2ef1897a3251a5f6331d1df064f69106a0
PseudoConstant - Prevent fatal when entity not available

This can happen e.g when Views tries to lookup an option value for a disabled extension.
See https://github.com/civicrm/civicrm-drupal/pull/656#issuecomment-1094362139
CRM/Core/PseudoConstant.php