You are here

country.html.twig in Country, State and City Fields 8

Default template for the 'plain' country field formatter.

Available variables:

  • country

File

templates/country.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default template for the 'plain' country field formatter.
  5. *
  6. * Available variables:
  7. * - country
  8. *
  9. * @ingroup themeable
  10. */
  11. #}
  12. <div class="country" translate="no">
  13. {% if country %}
  14. {{ country }}
  15. {% endif %}
  16. </div>
  17. <!-- Add you custom twig html here -->