Problem/Motivation

We need to use internal Drupal paths like node/1 in the "Paths to replace with custom breadcrumbs" textarea as target URLs.

Using aliases in not convenient, as changing an alias makes us to update the custom path respectively.

Also, when on a multi-lingual sites the aliased path might contain language and country prefixes, and using regexp in every line to cover those prefixes is cumbersome. The internal paths do not contain those prefixes, and thus we can cover all the languages/countries easily.

Proposed resolution

Check custom path against internal path in addition to checking it agains an aliased URL.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Alex Bukach created an issue. See original summary.

Alex Bukach changed the visibility of the branch 2.x to hidden.

alex.bukach’s picture

Assigned: alex.bukach » Unassigned
Status: Active » Needs review
StatusFileSize
new1.26 KB

Attaching a patch matching the MR 92.

Greg Boggs made their first commit to this issue’s fork.

greg boggs’s picture

Thanks Alex!

greg boggs’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.