system_theme_suggestions_region

system_theme_suggestions_region(array $variables)

Implements hook_theme_suggestions_HOOK().

File

core/modules/system/system.module, line 302
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;
}
doc_Drupal
2016-10-29 09:46:00
Comments
Leave a Comment

Please login to continue.