diff options
Diffstat (limited to 'modules/block/block.module')
-rw-r--r-- | modules/block/block.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/block/block.module b/modules/block/block.module index 9a898628b..282eaafe7 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -871,9 +871,9 @@ function template_preprocess_block(&$variables) { $variables['classes_array'][] = drupal_html_class('block-' . $variables['block']->module); - $variables['template_files'][] = 'block-' . $variables['block']->region; - $variables['template_files'][] = 'block-' . $variables['block']->module; - $variables['template_files'][] = 'block-' . $variables['block']->module . '-' . $variables['block']->delta; + $variables['theme_hook_suggestions'][] = 'block__' . $variables['block']->region; + $variables['theme_hook_suggestions'][] = 'block__' . $variables['block']->module; + $variables['theme_hook_suggestions'][] = 'block__' . $variables['block']->module . '__' . $variables['block']->delta; } /** |