Closed (won't fix)
Project:
Drupal core
Version:
7.10
Component:
node system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2012 at 16:59 UTC
Updated:
4 Mar 2013 at 20:04 UTC
Hi,
my needing is to pass arguments to the node_add form.
Standard content creation passes through a link node/add/node_type that calls node_add defined in node.pages.inc; this function calls directly drupal_get_form with 2 arguments, the nodetype and a node object.
drupal_get_form gives the possibility to add other arguments and puts all the arguments except the first one in $form_state['build_info']['args']
Is there a reason to pass only those 2 arguments and to prevent adding more than the form_id? Why can't we give the same opportunity, given from drupal_get_form, using node_add?
In attachment, a patch to evaluate.
Bye
Corrado
| Comment | File | Size | Author |
|---|---|---|---|
| node.pages_.inc_.patch | 848 bytes | coreykck |
Comments
Comment #1
coreykck commentedComment #2
dddave commentedSorry for won't fixing this. New features should always go against the development branch which at the time would have been D8. By now this might be D9 as we are in feature freeze. Additionally it would have been good if this were tagged against dev and not a stable version.