From 24980905f7a01a650a55f13cea2fd8b97bf5b848 Mon Sep 17 00:00:00 2001 From: nripesh Date: Dec 28, 2014 4:19:04 PM Fixed issue of Issue number 2396553 diff --git a/core/modules/system/templates/field.html.twig b/core/modules/system/templates/field.html.twig index 04fd875..e112385 100644 --- a/core/modules/system/templates/field.html.twig +++ b/core/modules/system/templates/field.html.twig @@ -7,13 +7,13 @@ * to your theme's directory and customize it, just like customizing other * Drupal templates such as page.html.twig or node.html.twig. * - * For example, for a field named 'body' displayed on the 'article' content - * type, any of the following templates will override this default - * implementation. The first of these templates that exists is used: - * - field--body--article.html.twig - * - field--article.html.twig - * - field--body.html.twig - * - field.html.twig + * Theme hook suggestions are made based on these factors, listed from the most specific template to the least. Drupal will use the most specific template it finds: + * + * field--field-name--content-type.html.twig + * field--content-type.html.twig + * field--field-name.html.twig + * field--field-type.html.twig + * * * Available variables: * - attributes: HTML attributes for the containing element.