function skinr_context_skinr_skin_defaults_alter in Skinr 7.2
Same name and namespace in other branches
- 8.2 skinr_context/skinr_context.module \skinr_context_skinr_skin_defaults_alter()
Implements hook_skinr_skin_defaults_alter().
File
- skinr_context/
skinr_context.module, line 650 - Provides Skinr integration with Context.
Code
function skinr_context_skinr_skin_defaults_alter(&$default_skins) {
foreach ($default_skins as &$skin) {
if (!isset($skin->gid)) {
_skinr_context_add_default_group($skin);
}
}
}