When using the Redirect module, it attaches the Redirect form to all entity types (except comment and media).
To make sure the redirect form doesn't show up on the 'edit registration' page, a small addition is needed in the hook_entity_info().

Patch follows.

CommentFileSizeAuthor
#2 remove_redirect_form-2608254-2.patch522 bytesBarisW

Comments

BarisW created an issue. See original summary.

BarisW’s picture

Status: Active » Needs review
StatusFileSize
new522 bytes

  • rudiedirkx committed f03a145 on 7.x-1.x authored by BarisW
    Issue #2608254 by BarisW: Remove Redirect form when using the Redirect...
rudiedirkx’s picture

Category: Bug report » Feature request
Status: Needs review » Fixed

My Redirect version (beta4) doesn't support that, but I see the current stable does, so it's done.

This could have been more readable:

!empty($entity_info['uri callback']) && (!isset($entity_info['redirect']) || !empty($entity_info['redirect']));

in redirect_entity_type_supports_redirects(). Does this mean it's ON or OFF by default..? (I'm guessing ON, hence this issue.)

Status: Fixed » Closed (fixed)

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