function monolog_profile_new in Monolog 7
Same name and namespace in other branches
- 6 monolog.crud.inc \monolog_profile_new()
Returns an empty profile configuration object with defaults.
Return value
stdClass
Related topics
1 call to monolog_profile_new()
- monolog_profile_form in ./
monolog.admin.inc - Form for adding and editing logging profile configurations.
File
- ./
monolog.crud.inc, line 39 - CRUD functions for logging profile configurations.
Code
function monolog_profile_new() {
ctools_include('export');
$profile = ctools_export_crud_new('monolog_profile');
$profile->options = array(
'label' => '',
'handlers' => array(),
);
return $profile;
}