You are here

function monolog_channel_info_load_all in Monolog 7

Same name and namespace in other branches
  1. 6 monolog.crud.inc \monolog_channel_info_load_all()

Loads all channel definitions from hook_monolog_channel_info() implementations.

Return value

array

Related topics

2 calls to monolog_channel_info_load_all()
monolog_channel_form in ./monolog.admin.inc
Channel settings for the Monolog module.
monolog_channel_info_load in ./monolog.crud.inc
Returns a single channel definition by its unique name.

File

./monolog.crud.inc, line 146
CRUD functions for logging profile configurations.

Code

function monolog_channel_info_load_all() {
  $channels =& drupal_static(__FUNCTION__);
  if (!$channels) {
    $channels = module_invoke_all('monolog_channel_info');
    drupal_alter('monolog_channel_info', $channels);
  }
  return $channels;
}