PHP Classes

File: modules/icon_field/icon_field.module

Recommend this page to a friend!
  Classes of Malik Naik  >  Drupal Icon Module API  >  modules/icon_field/icon_field.module  >  Download  
File: modules/icon_field/icon_field.module
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: 1 year ago
Size: 395 bytes
 

Contents

Class file image Download
<?php

/**
 * @file
 * Contains icon_field.module
 */

/**
 * Implements hook_theme()
 */
function icon_field_theme($existing, $type, $theme, $path) {
  return [
    'icon_field' => [
      'variables' => [
        'bundle' => NULL,
        'icon' => NULL,
        'icon_style' => NULL,
        'wrapper' => 'i',
        'wrapper_classes' => NULL,
        'link' => NULL,
      ],
    ],
  ];
}
For more information send a message to info at phpclasses dot org.