You are here

function micon_vocabulary_icon in Micon 8

Same name and namespace in other branches
  1. 2.x micon_vocabulary/micon_vocabulary.module \micon_vocabulary_icon()

Helper function for retrieving the icon from a vocabulary.

The taxonomy vocabulary.

2 calls to micon_vocabulary_icon()
micon_vocabulary_form_taxonomy_vocabulary_form_alter in micon_vocabulary/micon_vocabulary.module
Implements hook_form_FORM_ID_alter().
micon_vocabulary_micon_icons_alter in micon_vocabulary/micon_vocabulary.module
Implements hook_micon_icons_alter().

File

micon_vocabulary/micon_vocabulary.module, line 49
Contains micon_vocabulary.module.

Code

function micon_vocabulary_icon(VocabularyInterface $type) {
  return $type
    ->getThirdPartySetting('micon_vocabulary', 'icon');
}