function monolog_profile_options in Monolog 6
Same name and namespace in other branches
- 7 monolog.admin.inc \monolog_profile_options()
Returns an array of profile options.
Return value
array
1 call to monolog_profile_options()
- monolog_channel_form in ./
monolog.admin.inc - Channel settings for the Monolog module.
File
- ./
monolog.admin.inc, line 33 - Administrative settings for the Monolog module.
Code
function monolog_profile_options() {
$options =& drupal_static(__FUNCTION__, array());
if (!$options) {
$profiles = monolog_profile_load_all();
foreach ($profiles as $name => $profile) {
$options[$name] = check_plain($profile->options['label']);
}
}
return $options;
}