Issue #1021270 follow-up by larowlan: Fixed typo.
parent
dfef9f1596
commit
6d8a229c9b
|
@ -947,7 +947,7 @@ function template_preprocess_block(&$variables) {
|
||||||
// Hyphens (-) and underscores (_) play a special role in theme suggestions.
|
// Hyphens (-) and underscores (_) play a special role in theme suggestions.
|
||||||
// Theme suggestions should only contain underscores, because within
|
// Theme suggestions should only contain underscores, because within
|
||||||
// drupal_find_theme_templates(), underscores are converted to hyphens to
|
// drupal_find_theme_templates(), underscores are converted to hyphens to
|
||||||
// match template file names, and then converted back to hyphens to match
|
// match template file names, and then converted back to underscores to match
|
||||||
// pre-processing and other function names. So if your theme suggestion
|
// pre-processing and other function names. So if your theme suggestion
|
||||||
// contains a hyphen, it will end up as an underscore after this conversion,
|
// contains a hyphen, it will end up as an underscore after this conversion,
|
||||||
// and your function names won't be recognized. So, we need to convert
|
// and your function names won't be recognized. So, we need to convert
|
||||||
|
|
Loading…
Reference in New Issue