Loading includes/breadcrumb.theme +5 −0 Changes for includes/breadcrumb.theme: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -30,6 +30,11 @@ function gin_preprocess_breadcrumb(&$variables) { $url = Url::fromRoute('<front>'); } // Custom block handling (a custom block cannot be viewed standalone). if ($entity_id === 'block_content') { $url = Url::fromRoute('<front>'); } // Check for entity $url. if ($url && $url->access()) { $variables['breadcrumb'][$key]['url'] = $url; Loading Loading
includes/breadcrumb.theme +5 −0 Changes for includes/breadcrumb.theme: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -30,6 +30,11 @@ function gin_preprocess_breadcrumb(&$variables) { $url = Url::fromRoute('<front>'); } // Custom block handling (a custom block cannot be viewed standalone). if ($entity_id === 'block_content') { $url = Url::fromRoute('<front>'); } // Check for entity $url. if ($url && $url->access()) { $variables['breadcrumb'][$key]['url'] = $url; Loading