From efdc05a364ba0d33b3e35467f886f5c5d7333f35 Mon Sep 17 00:00:00 2001 From: Lily Yan <l26yan@uwaterloo.ca> Date: Tue, 6 Dec 2022 11:09:15 -0500 Subject: [PATCH] ISTWCMS-5878 Remove taxonomy.inc file which is related to gesso only --- includes/taxonomy.inc | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 includes/taxonomy.inc diff --git a/includes/taxonomy.inc b/includes/taxonomy.inc deleted file mode 100644 index d9bd0906..00000000 --- a/includes/taxonomy.inc +++ /dev/null @@ -1,16 +0,0 @@ -<?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; -} -- GitLab