PHP Classes

File: templates/icon-api.html.twig

Recommend this page to a friend!
  Classes of Malik Naik   Drupal Icon Module API   templates/icon-api.html.twig   Download  
File: templates/icon-api.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: 279 bytes
 

Contents

Class file image Download
{# Icon API Twig template for displaying the icon #} {% set default_class = '' %} {% if attributes is empty %} {% set default_class = 'fa-2x' %} {% endif %} <{{ wrapper }} class="{{ icon_style }} fa-{{ icon }} {{ default_class }} {{ attributes|join(' ') }}"></{{ wrapper }}>