You are here

tagadelic.module in Tagadelic 8.3

This module provides a taxonomy tag cloud.

File

tagadelic.module
View source
<?php

/**
 * @file
 * This module provides a taxonomy tag cloud.
 */

// Store tagadelic preprocess theme functions in a separate .inc file.
\Drupal::moduleHandler()
  ->loadInclude('tagadelic', 'inc', 'tagadelic.theme');

/**
 *  Implements hook_theme().
 */
function tagadelic_theme($existing, $type, $theme, $path) {
  return array(
    'tagadelic_taxonomy_cloud' => array(
      'variables' => array(
        'tags' => NULL,
      ),
      'template' => 'tagadelic-taxonomy-cloud',
    ),
    'tagadelic_view_tagadelic_list' => array(
      'file' => 'tagadelic.theme.inc',
    ),
  );
}

Functions

Namesort descending Description
tagadelic_theme Implements hook_theme().