responsive_menu_test.module in Responsive and off-canvas menu 4.3.x
Same filename and directory in other branches
File
tests/modules/responsive_menu_test/responsive_menu_test.moduleView source
<?php
/**
* Implements hook_responsive_menu_off_canvas_output().
*/
function responsive_menu_test_responsive_menu_off_canvas_output_alter(&$output) {
$theme = \Drupal::service('theme.manager')
->getActiveTheme()
->getName();
if ($theme === 'bartik') {
$output = FALSE;
}
}
Functions
Name | Description |
---|---|
responsive_menu_test_responsive_menu_off_canvas_output_alter | Implements hook_responsive_menu_off_canvas_output(). |