-
-
Save lolmaus/4293909 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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