diff options
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index b36bca9c3..1e0cf45ad 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -665,6 +665,10 @@ function taxonomy_term_view($term, $view_mode = 'full', $langcode = NULL) { $build['#attached']['css'][] = drupal_get_path('module', 'taxonomy') . '/taxonomy.css'; + // Allow modules to modify the structured term. + $type = 'taxonomy_term'; + drupal_alter(array('taxonomy_term_view', 'entity_view'), $build, $type); + return $build; } |