Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want to exclude all paths created by one specific module (custom). Currently I have to add all excluded paths to the EasyBreadcrumbConstants::DB_VAR_EXCLUDED_PATHS variable, but I'd rather have a hook_alter in _easy_breadcrumb_check_excluded_path() that I can use.
Comment | File | Size | Author |
---|---|---|---|
#4 | ability_to_alter-2700989-3.patch | 347 bytes | tatarbj |
Comments
Comment #2
Yaron Tal CreditAttribution: Yaron Tal at One Shoe commentedAttached is a patch that adds a drupal_alter() to the _easy_breadcrumb_check_excluded_path() function.
Comment #3
Yaron Tal CreditAttribution: Yaron Tal at One Shoe commentedComment #4
tatarbjRequest is totally valuable and makes sense! I've just rerolled the patch on 7.x-2.x because of the changed structure and will include it in the next release!
Thanks @Yaron Tal, you'll be created!
Cheers,
Balazs.
Comment #6
tatarbj