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.module is a critical module, because everything is based on nodes. I'd even consider saying that the module is really part of the very core of what makes Drupal Drupal -- since without nodes, there is very little content.
This module can be disabled in the modules. But a LOT of modules use node_ functions -- such as node_load() -- without checking to see if the module is active. If one of these modules is enabled, and node.module is disabled, all pages will stop on a PHP error.
I think the node module should be set to required.
Comment | File | Size | Author |
---|---|---|---|
#3 | required_node.patch | 359 bytes | merlinofchaos |
#1 | system_7.patch | 661 bytes | Uwe Hermann |
Comments
Comment #1
Uwe Hermann CreditAttribution: Uwe Hermann commentedI'd say merlinofchaos is right. Here's a patch.
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedSimple patch, works fine for me. +1
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedRerolled the patch against current CVS. This really ought to go in.
Comment #4
chx CreditAttribution: chx commentedNot so fast. Let's see what breaks. Is this an absolute necessity?
Comment #5
Wesley Tanaka CreditAttribution: Wesley Tanaka commentedperhaps a red herring:
i don't fully like nodes, primarily because if you don't assign a url alias for every single one, they all show up as the vague url 'node/12345', whatever type they actually are. they also require all the content that's represented as nodes has a row in the {node} table, which could be a lot of rows, even if they were split among many different types. if i weren't using the drupal forums, (and had i understood them better before starting to build some of my custom modules) i might not even use nodes on my site.
i think it's an attractive part of drupal that you could turn that module off if you wanted to. makes it feel more modular.
Comment #6
Robrecht Jacques CreditAttribution: Robrecht Jacques commentednode.module has been made required in head/5.0.
Setting as fixed.
Comment #7
(not verified) CreditAttribution: commented