There is now only a single preprocess function in node.pages.inc. Lets move it to node.module and remove node.pages.inc.
Also the comments in the @file section are no longer existing in that file. These are left-overs from D7.
The use statements actually could have been decreased to just the top 2 statement. However, moving this to the node.module solves it.

This is not a real related issue, but it is the same problem. See https://www.drupal.org/node/2407489 for the same decision for the user module.

Comments

Stalski’s picture

StatusFileSize
new1.32 KB
Stalski’s picture

StatusFileSize
new2.62 KB

Sorry, forgot to remove file.

Stalski’s picture

Status: Active » Needs review
cosmicdreams’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

A non-disruptive task. Let's do it. Committed 14a2c27 and pushed to 8.0.x. Thanks!

  • alexpott committed 14a2c27 on 8.0.x
    Issue #2427291 by Stalski: Remove node.pages.inc
    

Status: Fixed » Closed (fixed)

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