Commit 5ab7658c authored by webchick's avatar webchick
Browse files

#784792 by Jacine: Add Field type template suggestions for more granular field API theming.

parent 91bc8bed
......@@ -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'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment