function system_theme_suggestions_region
Implements hook_theme_suggestions_HOOK().
File
- 
              core/
modules/ system/ system.module, line 345  
Code
function system_theme_suggestions_region(array $variables) {
  $suggestions = [];
  if (!empty($variables['elements']['#region'])) {
    $suggestions[] = 'region__' . $variables['elements']['#region'];
  }
  return $suggestions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.