Skip to content
Snippets Groups Projects
Commit efdc05a3 authored by Lily Yan's avatar Lily Yan Committed by Igor Biki
Browse files

ISTWCMS-5878 Remove taxonomy.inc file which is related to gesso only

parent 24677541
No related branches found
No related tags found
1 merge request!93ISTWCMS-5878 ISTWCMS-5878 Remove Gesso after 3.2.0 has shipped
<?php
/**
* @file
* Functions for fixing taxonomies.
*/
/**
* Implements theme_suggestions_taxonomy_term_alter()
*/
function gesso_theme_suggestions_taxonomy_term_alter(array &$suggestions, array $variables) {
$bundle = $variables['elements']['name']['#bundle'];
$view_mode = $variables['elements']['#view_mode'];
$suggestions[] = 'taxonomy_term__' . $view_mode;
$suggestions[] = 'taxonomy_term__' . $bundle . '__' . $view_mode;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment