function radioactivity_debug_info_form in Radioactivity 6
1 string reference to 'radioactivity_debug_info_form'
File
- plugins/
radioactivity_debug.module, line 56 - Debugging support for radioactivity
Code
function radioactivity_debug_info_form() {
$form = array();
$info = radioactivity_get_radioactivity_info();
$form['radioactivity_info_array'] = array(
'#type' => 'item',
'#title' => 'Radioactivity info struct',
'#value' => '<pre>' . check_plain(print_r($info, TRUE)) . '</pre>',
);
$form['radioactivity_profiles'] = array(
'#type' => 'item',
'#title' => 'Radioactivity profiles',
'#value' => '<pre>' . check_plain(var_export(radioactivity_get_decay_profiles(), TRUE)) . '</pre>',
);
return $form;
}