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.
i recognized the functions template_preprocess_node/block in the file inclues/theme.inc
this is for me not the logically place, they should be in modules/node/node.module and modules/block/block.module
any oppinions about it?
Comment | File | Size | Author |
---|---|---|---|
#3 | move_preprocess_node_block.patch | 5.41 KB | dawehner |
#1 | move_preprocess_node_block.patch | 8.01 KB | dawehner |
Comments
Comment #1
dawehnerhere is a fast patch
perhaps a argument for doing this is also that you could include theme.inc without want to use node/block module. Only use the awesomeness of stuff like theme_item_list
Comment #3
dawehnerrerole
it seams that preprocess_block moved to block.module
Comment #4
cburschkaGood call. If the block function has already moved, it makes sense to move the node function too...
Comment #5
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.