Re-add support for the global redirect for entity viewing

Created on 26 August 2013, over 11 years ago
Updated 20 May 2025, about 4 hours ago

There is a new hook in Drupal 7.17 called hook_entity_view_mode_alter() that gets invoked whenever an entity is being viewed. This would be much more reliable to use compared to hook_init() and hook_url_inbound_alter() for checking if $view_mode == 'full' and the current page does not match entity_uri().

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dave reid Nebraska USA

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024