fixed ->getVocabularyId() deprecated
This commit is contained in:
@@ -102,7 +102,7 @@ function edlptheme_theme_suggestions_taxonomy_term_alter(&$suggestions, $variabl
|
||||
$term = $elements['#taxonomy_term'];
|
||||
|
||||
if (is_object($term)) {
|
||||
$suggestions[] = $elements['#theme'] . '__' . $term->getVocabularyId() . '__' . $elements['#view_mode'];
|
||||
$suggestions[] = $elements['#theme'] . '__' . $term->bundle() . '__' . $elements['#view_mode'];
|
||||
$suggestions[] = $elements['#theme'] . '__' . $term->id() . '__' . $elements['#view_mode'];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user