Skip to content

Instantly share code, notes, and snippets.

@shadcn
Created October 3, 2013 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shadcn/6802740 to your computer and use it in GitHub Desktop.
Save shadcn/6802740 to your computer and use it in GitHub Desktop.
<?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