Skip to content

Feature/sd 1440 ia computed breadcrumb based on menu#741

Open
MdNadimHossain wants to merge 22 commits intodevelopfrom
feature/SD-1440-IA-computed-breadcrumb-based-on-menu
Open

Feature/sd 1440 ia computed breadcrumb based on menu#741
MdNadimHossain wants to merge 22 commits intodevelopfrom
feature/SD-1440-IA-computed-breadcrumb-based-on-menu

Conversation

@MdNadimHossain
Copy link
Copy Markdown
Contributor

JIRA issue: https://digital-vic.atlassian.net/browse/SUPSSP-

Changed

Screenshots

… caching for JSON:API cache bubbling and performance.
}

// Ignore the admin paths.
if (\Drupal::service('router.admin_context')->isAdminRoute()) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignore triggering this hook for paths admin/content to avoid slow loading time for the view.

}
}
catch (\Exception $e) {
\Drupal::logger('tide_breadcrumbs')->error($e->getMessage());
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is mostly to catch the error from the breadcrumb service when a site term is deleted or menu field is empty for a site and easier to debug just by looking at the dblogs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant