Closed (won't fix)
Project:
Install Profile API (obsolete)
Version:
6.x-2.0
Component:
CRUD functions and includes
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2009 at 21:49 UTC
Updated:
24 Sep 2009 at 17:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
damienmckennaFile attached has a new function called install_publish_node() to do this.
Comment #2
James Andres commentedWell I agree this is handy, it is highly specific to a single use case and doesn't reduce code complexity. For example, what about settings like
moderate=1, revision=1, status=0do we create functions for these also?I think it is better to stick to the standard Drupal API of
node_load()andnode_save().