Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
node_page() is a central function in drupal. it generates the default home page, all single node views, all node forms, etc. sadly, it uses a drupal 3.x pattern with a _page() function delegating to action specific functions. this patch uses the menu callback system to eliminate this function completely and on the way, eliminates use of arg().
Comment | File | Size | Author |
---|---|---|---|
nodepage.patch | 4.62 KB | moshe weitzman | |
Comments
Comment #1
drummCommitted to HEAD.
Comment #2
drummComment #3
(not verified) CreditAttribution: commented