summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreltermann2013-06-20 14:46:11 (GMT)
committer Yuriy Gerasimov2013-06-20 14:46:51 (GMT)
commita4ce76a0d8e30e45d6d6a624bcaf293584a87438 (patch)
tree1561d6442f03b36527c98a230414b6d3ce9767e6
parent56e5fd3819dbd0ecf81380d3ca3b01a30e3a9a48 (diff)
Issue #2023653 by eltermann: Improve documentation: s/drupal_execute()/drupal_form_submit().
-rw-r--r--resources/node_resource.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/resources/node_resource.inc b/resources/node_resource.inc
index 0a98eb2..899783f 100644
--- a/resources/node_resource.inc
+++ b/resources/node_resource.inc
@@ -265,7 +265,7 @@ function _node_resource_retrieve($nid) {
/**
* Creates a new node based on submitted values.
*
- * Note that this function uses drupal_execute() to create new nodes,
+ * Note that this function uses drupal_form_submit() to create new nodes,
* which may require very specific formatting. The full implications of this
* are beyond the scope of this comment block. The Googles are your friend.
*
@@ -275,7 +275,7 @@ function _node_resource_retrieve($nid) {
* An associative array contained the new node's nid and, if applicable,
* the fully qualified URI to this resource.
*
- * @see drupal_execute()
+ * @see drupal_form_submit()
*/
function _node_resource_create($node) {
// Adds backwards compatability with regression fixed in #1083242
@@ -293,7 +293,7 @@ function _node_resource_create($node) {
// so code below won't be executed.
_node_resource_validate_type($node);
- // Load the required includes for drupal_execute
+ // Load the required includes for drupal_form_submit
module_load_include('inc', 'node', 'node.pages');
$node_type = $node['type'];
@@ -344,7 +344,7 @@ function _node_resource_validate_type($node) {
/**
* Updates a new node based on submitted values.
*
- * Note that this function uses drupal_execute() to create new nodes,
+ * Note that this function uses drupal_form_submit() to create new nodes,
* which may require very specific formatting. The full implications of this
* are beyond the scope of this comment block. The Googles are your friend.
*
@@ -355,7 +355,7 @@ function _node_resource_validate_type($node) {
* @return
* The node's nid.
*
- * @see drupal_execute()
+ * @see drupal_form_submit()
*/
function _node_resource_update($nid, $node) {
// Adds backwards compatability with regression fixed in #1083242
@@ -381,7 +381,7 @@ function _node_resource_update($nid, $node) {
// so code below won't be executed.
_node_resource_validate_type($node);
- // Load the required includes for drupal_execute
+ // Load the required includes for drupal_form_submit
module_load_include('inc', 'node', 'node.pages');
$node_type = $node['type'];