'postalCode',
'money',
'positiveInteger',
- 'xssString',
'fileExists',
'settingPath',
'autocomplete',
// The $attributes param used to allow for strings and would default to an
// empty string. However, now that the variable is heavily manipulated,
// we should expect it to always be an array.
- Civi::log()->warning('Attributes passed to CRM_Core_Form::add() are not an array.', ['civi.tag' => 'deprecated']);
+ CRM_Core_Error::deprecatedWarning('Attributes passed to CRM_Core_Form::add() are not an array.');
}
// Fudge some extra types that quickform doesn't support
$inputType = $type;
if (!empty($selectedChild)) {
$this->set('selectedChild', $selectedChild);
$this->assign('selectedChild', $selectedChild);
+ Civi::resources()->addSetting(['tabSettings' => ['active' => $selectedChild]]);
}
}