Add UI to select which entity types Redirect module should support

Created on 18 January 2013, over 11 years ago
Updated 2 May 2024, about 2 months ago

Right now the redirect is added to all entity types, also types where it does not make much sense. After #1263884: Avoid redirect field and form injection on entities that have a path but where this makes no sense (like comments) β†’ has been resolved, it is possible to avoid that adding 'redirect' => FALSE to the hook_entity_info() for the entity. However, then a lot of contrib modules needs to be patched. A cleaner approach could be to add a UI to avoid redirect module being applied to certain entity types.

A starting point for creating the UI is in this comment:

http://drupal.org/node/1263884#comment-5001548

Which is the better approach? ... forcing contrib modules to add the redirect parameter, or to handle it inside redirect?

✨ Feature request
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡°Denmark lsolesen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024