From 7be7d8120005ade916f2ee40db09717e9b1592de Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Sun, 7 Oct 2012 19:13:39 -0700 Subject: [PATCH] Issue #1760530 follow-up by Eric_A: Move field.tpl.php to a templates directory. --- core/includes/theme.inc | 2 +- core/modules/field/{theme => templates}/field.tpl.php | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename core/modules/field/{theme => templates}/field.tpl.php (100%) diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 20c43eaa310b..790949a62e7d 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -371,7 +371,7 @@ function drupal_theme_rebuild() { * defined, 'template' is not used. * - 'template': The filename of the template generating output for this * theme hook. The template is in the directory defined by the 'path' key of - * hook_theme() or defaults to $path. + * hook_theme() or defaults to "$path/templates". * - 'variables': The variables for this theme hook as defined in * hook_theme(). If there is more than one implementation and 'variables' is * not specified in a later one, then the previous definition is kept. diff --git a/core/modules/field/theme/field.tpl.php b/core/modules/field/templates/field.tpl.php similarity index 100% rename from core/modules/field/theme/field.tpl.php rename to core/modules/field/templates/field.tpl.php -- GitLab