Skip to content

Instantly share code, notes, and snippets.

@lolmaus
Forked from anonymous/gist:4293907
Created December 15, 2012 11:18
Show Gist options
  • Save lolmaus/4293909 to your computer and use it in GitHub Desktop.
Save lolmaus/4293909 to your computer and use it in GitHub Desktop.
function nova_bs_fusion_apply_group_nova_bs_skins_info() {
$groups = array();
$groups['region_specific'] = array(
'title' => t('Region specific'),
'description' => t('Skins dependent on content'),
'weight' => 20,
);
// Creating breakpoint-specific groups
foreach (array_slice(_nova_bs_columns(),1,count(_nova_bs_columns()) - 1) as $bp_i => $bp) {
$groups["layout_bp_{$bp}"] = array(
'title' => t("Layout for {$bp}-column window"),
'description' => t("These skins are applied only when the window is exactly {$bp} columns wide"),
'weight' => 21 + $bp_i,
);
}
return $groups;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment