Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
taxonomy_display
Commits
a29b2a78
Commit
a29b2a78
authored
Jul 20, 2012
by
git
Committed by
codycraven
Jul 20, 2012
Browse files
Issue #1693978 by Saxxing: Fix ability for breadcrumbs to be translated.
parent
a69954fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG.txt
CHANGELOG.txt
+1
-0
handlers/breadcrumb/core.inc
handlers/breadcrumb/core.inc
+1
-1
No files found.
CHANGELOG.txt
View file @
a29b2a78
Taxonomy Display 7.x-1.x, YYYY-MM-DD
------------------------------------
Issue #1693978 by Saxxing: Fix ability for breadcrumbs to be translated.
Issue #1425648 by codycraven: Added README.txt per user request.
Issue #1507632 by codycraven, hass: Display select option for views that do not
have a human name set.
...
...
handlers/breadcrumb/core.inc
View file @
a29b2a78
...
...
@@ -18,7 +18,7 @@ class TaxonomyDisplayBreadcrumbDisplayHandlerCore extends TaxonomyDisplayBreadcr
$breadcrumb
=
array
();
while
(
$parents
=
taxonomy_get_parents
(
$current
->
tid
))
{
// Allow modules like i18n_taxonomy to alter the parents.
drupal_alter
(
'taxonomy_display_breadcrumb_parents
_alter
'
,
$parents
);
drupal_alter
(
'taxonomy_display_breadcrumb_parents'
,
$parents
);
$current
=
array_shift
(
$parents
);
$breadcrumb
[]
=
l
(
$current
->
name
,
'taxonomy/term/'
.
$current
->
tid
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment