Created
October 3, 2013 00:31
-
-
Save shadcn/6802740 to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
/** | |
* Implements hook_oa_responsive_regions_positions_alter(). | |
*/ | |
function oa_dashboard_oa_responsive_regions_positions_alter(&$positions) { | |
// We will keep the top position for the oa navbar so we unset it here. | |
unset($positions['top']); | |
} | |
/** | |
* Implements hook_oa_responsive_regions_alter(). | |
*/ | |
function oa_dashboard_oa_responsive_regions_alter(&$regions) { | |
// Manually add our top region here. | |
$regions['top'] = array( | |
'settings' => array( | |
'position' => 'top', | |
), | |
'icon' => 'icon-home', | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment