Make node aware of the latest_version route.

Created on 12 May 2017, over 7 years ago
Updated 26 October 2023, about 1 year ago

Problem/Motivation

Content moderation overrides the node template to set 'page' => TRUE to indicate the latest-version route should be treated as a full page dedicated to displaying a node entity. The issues are:

  • node_is_page doesn't return TRUE here, so others trying to build assumptions around "node-full-pageness" wont work.
  • Heaps of code is required to do this in content_moderation.

Proposed resolution

Make node_is_page aware of the route content_moderation adds and clean up a huge chunk of tech debt in the process.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Node system 

Last updated about 7 hours ago

No maintainer
Created by

🇦🇺Australia Sam152

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

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