<?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' ], ], ]; }
info at phpclasses dot org