Settings.getoptions supports a lesser format-set to CRM_Core_DAO::buildOptions does
in terms of pseudoconstant keys. Ideally we would fix that but for now
fix the fatal on the contribution page settings page by using
a format that is supported
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2017
- * $Id$
*
- */
-/*
* Settings metadata file
*/
'quick_form_type' => 'Element',
'default' => NULL,
'pseudoconstant' => array(
- 'name' => 'contributionPage',
+ // @todo - handle table style pseudoconstants for settings & avoid deprecated function.
+ 'callback' => 'CRM_Contribute_PseudoConstant::contributionPage',
),
'html_type' => 'select',
'add' => '4.7',