You are here

menu_block_current_language.module in Menu block current language 8

Contains Menu block current language module.

File

menu_block_current_language.module
View source
<?php

/**
 * @file
 * Contains Menu block current language module.
 */

/**
 * Implements hook_theme_suggestions_HOOK_alter().
 */
function menu_block_current_language_theme_suggestions_block_alter(array &$suggestions, array $variables) {
  if (in_array('block__menu_block_current_language', $suggestions)) {

    // Adds block__system_menu_block suggestion.
    array_unshift($suggestions, 'block__system_menu_block');
  }
}