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
| <?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']); | |
| } |
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
| <?php | |
| /** | |
| * Implements hook_responsive_panels_regions_positions_alter(). | |
| */ | |
| function oa_dashboard_responsive_panels_regions_positions_alter(&$positions) { | |
| // We use the top position for the breadcrumb only, so we unset it here. | |
| unset($positions['top']); | |
| } |
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
| <?php | |
| function _get_breadcrumb_by_nid($nid) { | |
| $node = node_load($nid); | |
| // If a node is not found, return. | |
| if (!$node) { | |
| return; | |
| } |
NewerOlder