You are here

function skinr_fetch_config in Skinr 6.2

Fetch Skinr configuration data from modules.

5 calls to skinr_fetch_config()
skinr_preprocess in ./skinr.module
Implementation of hook_preprocess().
skinr_ui_filters in ./skinr_ui.admin.inc
List skinr administration filters that can be applied.
skinr_ui_form_alter in ./skinr_ui.module
Implementation of hook_form_alter().
skinr_ui_form_submit in ./skinr_ui.module
Submit handler.
skinr_ui_form_validate in ./skinr_ui.module
Validation handler.

File

./skinr.module, line 1062

Code

function skinr_fetch_config() {
  static $cache = NULL;
  if (is_null($cache)) {
    $cache = module_invoke_all('skinr_config');
    foreach (module_implements('skinr_config_alter') as $module) {
      $function = $module . '_skinr_config_alter';
      $function($cache);
    }
  }
  return $cache;
}