function mobile_codes_variable_element_mobile_codes_settings in Mobile Codes 7.2
Element callback for Mobile Ocdes settings variable type.
1 string reference to 'mobile_codes_variable_element_mobile_codes_settings'
- mobile_codes_variable_type_info in includes/
variable.inc - Implements hook_variable_type_info().
File
- includes/
variable.inc, line 54 - Variable module integration.
Code
function mobile_codes_variable_element_mobile_codes_settings($variable, $options = array()) {
$form = $form_state = array();
module_load_include('admin.inc', 'mobile_codes');
$form = mobile_codes_settings_form($form, $form_state);
$form['settings']['#tree'] = TRUE;
return $form['settings'];
}