summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-15 03:48:32 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-15 03:48:32 +0000
commit5ab7658c0d49c6b88a0e09eb64e2caa53200d320 (patch)
treed4a88f0d443d98e633d79b5cd51d3a7e4b92dd61 /modules
parent91bc8bed90634548d06087e9ff9d2ad616e0392f (diff)
downloadbrdo-5ab7658c0d49c6b88a0e09eb64e2caa53200d320.tar.gz
brdo-5ab7658c0d49c6b88a0e09eb64e2caa53200d320.tar.bz2
#784792 by Jacine: Add Field type template suggestions for more granular field API theming.
Diffstat (limited to 'modules')
-rw-r--r--modules/field/field.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/field/field.module b/modules/field/field.module
index fdff56298..d02599a01 100644
--- a/modules/field/field.module
+++ b/modules/field/field.module
@@ -854,6 +854,7 @@ function template_preprocess_field(&$variables, $hook) {
// Add specific suggestions that can override the default implementation.
$variables['theme_hook_suggestions'] = array(
+ 'field__' . $element['#field_type'],
'field__' . $element['#field_name'],
'field__' . $element['#bundle'],
'field__' . $element['#field_name'] . '__' . $element['#bundle'],