Skip to content

Events breadcrumbs appears even if /events page does not exist

Summary

When using the Events pattern, the events breadcrumbs appears even if /events page does not exist. Add preprocessing logic to appear only when /events URL exists

Steps to reproduce

  1. Use the Events pattern
  2. Render content using it

Possible fixes

Add preprocessing logic to appear only when /events URL exists. Probably hook_preprocess_node could be helpful

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information