function skinr_get_config_info in Skinr 7.2
Same name and namespace in other branches
- 8.2 skinr.module \skinr_get_config_info()
Fetch Skinr configuration data from functionality plugins.
Return value
An array of all configuration data.
4 calls to skinr_get_config_info()
- SkinrApiTestCase::testSkinrConfigInfo in tests/
skinr.test - Tests hook_skinr_config_info().
- skinr_context_ui_filters in skinr_context/
skinr_context_ui.admin.inc - List skinr administration filters that can be applied.
- skinr_ui_add in ./
skinr_ui.admin.inc - Form builder for the add a Skinr configuration form.
- skinr_ui_filters in ./
skinr_ui.admin.inc - List skinr administration filters that can be applied.
File
- ./
skinr.module, line 1590 - Handles core Skinr functionality.
Code
function skinr_get_config_info() {
$config_info =& drupal_static(__FUNCTION__);
if (!isset($config_info)) {
if ($cached = cache_get('skinr_config_info')) {
$config_info = $cached->data;
return $config_info;
}
$config_info = skinr_invoke_all('skinr_config_info');
// Allow modules to alter config info via hook_skinr_config_info_alter().
drupal_alter('skinr_config_info', $config_info);
cache_set('skinr_config_info', $config_info);
}
return $config_info;
}