Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Perfect, thank you. By the way, you could also put a usual "Implements hook_variable_info()." comment before function custom_breadcrumbs_variable_info. :)
To prove that it works correctly, let me attach some screenshots of my own experiences!
I also hope it helps somebody how to translate the "Home" text in Custom breadcrumbs settings.
Comments
Comment #1
svdhout commentedSame here
Comment #2
Sk8erPeter commentedPerfect, thank you. By the way, you could also put a usual "Implements hook_variable_info()." comment before
function custom_breadcrumbs_variable_info. :)To prove that it works correctly, let me attach some screenshots of my own experiences!
I also hope it helps somebody how to translate the "Home" text in Custom breadcrumbs settings.
BEFORE applying the patch:
AFTER applying the patch:
How-to steps:
admin/config/regional/i18n/variableand check "Homepage breadcrumb", then click "Save configuration" like thisadmin/config/user-interface/custom-breadcrumbs, now you can see that "Home breadcrumb text" is already a multilingual variable: http://drupal.org/files/Custom_breadcrumbs_05._admin-config-user-interfa...Comment #3
colanMarking #504400: home reference and i18n as a duplicate of this issue. Also, committed the above patch with the proper documentation header in 8532947.
Comment #4
colan