Problem/Motivation

Currently, the routes to rewrite can only be configured by developers by editing the route_path_rewrite.settings.yml file.

Proposed resolution

Create a module settings form with routes to rewrite.

Remaining tasks

  • Create a module settings form with routes to rewrite
  • Update README.md and project page
  • Commit

User interface changes

Module settings form with routes to rewrite

API changes

None.

Data model changes

None.

Release notes snippet

Module settings form with routes to rewrite added

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

orlando.thoeny created an issue. See original summary.

manuel.adan’s picture

Yes, this is a must. There are similar use cases in core and contrib that can be used as reference.

Andrey Proh’s picture

Status: Active » Needs review
StatusFileSize
new7.37 KB

Please review.

Andrey Proh’s picture

StatusFileSize
new7.32 KB

Fixed notice "Notice: Undefined variable: keys in Drupal\…"

guilherme-lima-almeida’s picture

StatusFileSize
new9.39 KB

Hi Andrey Proh,

I added dependency injection and added the validateForm method to check if the routes the user insert exists.

milos33’s picture

StatusFileSize
new2.73 KB

Correction to use existing routes from configuration.

milos33’s picture

StatusFileSize
new0 bytes

Patch fix, for 2.0.0 using existing config.

rdamjanov’s picture

Removed from display because it still needs some work.

  • rdamjanov committed 0e1be03b on 2.0.x
    Issue #3026914 by orlando.theony, guilherme-lima-almeida: Fix config...
rdamjanov’s picture

Status: Needs review » Closed (outdated)

I am closing this issue because we have recommended release 2.0.1 - which contains this feature.