PHP Classes

File: icon_api.module

Recommend this page to a friend!
  Classes of Malik Naik  >  Drupal Icon Module API  >  icon_api.module  >  Download  
File: icon_api.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: 316 bytes
 

Contents

Class file image Download
<?php

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