function skinr_context_skinr_skin_defaults_alter in Skinr 8.2
Same name and namespace in other branches
- 7.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 659 - 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);
}
}
}