Skip to content

Add Redirect options as columns to the Bundles tab #41

@AllieRays

Description

@AllieRays

Description
There are content types that never should be displayed with its own page, like an image media entity that's displayed in a carousel. Rabbit Hole can prevent this node from being accessible on its own page with the following options

  • Deliver an access denied page.
  • Deliver a page not found page.
  • Issue a page redirect to any path or external url.
  • Or simply display the entity (regular behavior).

I think this should be a standard and specified in the Drupal Spec tool. I made a copy of the Drupal spec tool excel book with the updates I think should be added.
https://docs.google.com/spreadsheets/d/1muqPOBLFwr_PySl5OIbcWhrObGzs0yCamrJEGm_pBV8/edit?usp=sharing

Implementation

Columns that would need to be added to the Bundles tab.

Column Redirect Behavior Redirect Override Redirect Path
note Redirect Module is Enabled Redirect Module is Enabled. If page redirect is selected, then allow these settings to be overridden for individual entities. If this is checked, users with the Administer Rabbit Hole settings for Content type permission will be able to override these settings for individual entities. Rabbit Hole is enabled. This is the path where nodes should be redirected. A good default would be /front.
data validation Page Redirect, Page not found, Display the page, Access denied y, n n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions