PHP Classes

File: modules/icon_field/templates/icon-field.html.twig

Recommend this page to a friend!
  Classes of Malik Naik   Drupal Icon Module API   modules/icon_field/templates/icon-field.html.twig   Download  
File: modules/icon_field/templates/icon-field.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Drupal Icon Module API
Icons for Drupal blocks, menus, filters and fields
Author: By
Last change:
Date: 4 years ago
Size: 305 bytes
 

Contents

Class file image Download
{# Icon Field Twig template for displaying the icon #} {% if link is not empty %} <a href="{{ link }}" target="_blank"> {% endif %} <{{ wrapper }} class="{{ icon_style }} fa-{{ icon }} {{ default_class }} {{ wrapper_classes|join(' ') }}"></{{ wrapper }}> {% if link is not empty %} </a> {% endif %}