You are here

hierarchical_term_formatter.module in Hierarchical Term Formatter 8

Same filename and directory in other branches
  1. 7 hierarchical_term_formatter.module

Hook implementation file for Hierarchical Term Formatter.

File

hierarchical_term_formatter.module
View source
<?php

/**
 * @file
 * Hook implementation file for Hierarchical Term Formatter.
 */

/**
 * Implements hook_theme().
 */
function hierarchical_term_formatter_theme($existing, $type, $theme, $path) {
  return [
    'hierarchical_term_formatter' => [
      'variables' => [
        'terms' => [],
        'wrapper' => '',
        'separator' => ' » ',
        'link' => FALSE,
      ],
      'file' => 'hierarchical_term_formatter.theme.inc',
    ],
  ];
}

Functions