Make node aware of the latest_version route.

Created on 12 May 2017, almost 8 years ago
Updated 30 January 2023, about 2 years 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

10.1 ✨

Component
Node system  →

Last updated about 18 hours ago

No maintainer
Created by

🇦🇺Australia Sam152

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

Merge Requests

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