Problem/Motivation

Sometimes it is useful to take a redirect decision control in a custom module and do the redirect only for anonymous users or for example exclude some paths from the redirect etc.

Proposed resolution

Extend the ContentTranslationRedirectEvent by adding a shouldRedirect() and setShouldRedirect(bool $value)

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

cmd87 created an issue.