- 🇪🇸Spain gejo
I've ended up removing this function from a custom module.
<?php /** * Implements hook_theme_registry_alter(). * * This function prevents the Gin theme from processing breadcrumbs by removing * its preprocess callback from the theme registry. As a result, the theme will * no longer invoke gin_preprocess_breadcrumb(). */ function MYMODULE_theme_registry_alter(&$theme_registry) { // Check if the 'breadcrumb' hook has any registered preprocess functions. if (isset($theme_registry['breadcrumb']['preprocess functions'])) { foreach ($theme_registry['breadcrumb']['preprocess functions'] as $key => $function) { // Identify the 'gin_preprocess_breadcrumb' function. if ($function === 'gin_preprocess_breadcrumb') { // Remove it so it won't be executed for breadcrumb rendering. unset($theme_registry['breadcrumb']['preprocess functions'][$key]); } } } } ?>
- 🇨🇭Switzerland saschaeggi Zurich
I'm closing this one as it hasn't been worked on since 2022.