You are here

function system_theme_suggestions_region in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/system.module \system_theme_suggestions_region()

Implements hook_theme_suggestions_HOOK().

File

core/modules/system/system.module, line 293
Configuration system that lets administrators modify the workings of the site.

Code

function system_theme_suggestions_region(array $variables) {
  $suggestions = array();
  if (!empty($variables['elements']['#region'])) {
    $suggestions[] = 'region__' . $variables['elements']['#region'];
  }
  return $suggestions;
}