You are here

function micon in Micon 2.x

Same name and namespace in other branches
  1. 8 micon.module \micon()

A drop-in replacement for the t() function from core.

3 string references to 'micon'
Micon::getFunctions in src/TwigExtension/Micon.php
micon_library_info_alter in ./micon.module
Implements hook_library_info_alter().
template_preprocess_micon_icon in ./micon.theme.inc
Prepares variables for the Micon icon template.

File

./micon.module, line 128
Contains micon.module.

Code

function micon($string = '', array $args = [], array $options = []) {
  return new MiconIconize($string, $args, $options);
}