/[drupal]/contributions/modules/workflow_ng/workflow_ng/modules/workflow_ng_node.inc
ViewVC logotype

Diff of /contributions/modules/workflow_ng/workflow_ng/modules/workflow_ng_node.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.3.2.9, Fri Jul 11 08:19:46 2008 UTC revision 1.1.2.3.2.10, Tue Oct 28 14:56:57 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: workflow_ng_node.inc,v 1.1.2.3.2.9 2008/07/11 08:19:46 fago Exp $
3    
4  /**  /**
5   * @file Workflow-ng integration for the node module   * @file Workflow-ng integration for the node module
# Line 170  function node_action_info() { Line 170  function node_action_info() {
170        ),        ),
171        '#module' => 'Node',        '#module' => 'Node',
172      ),      ),
173        'workflow_ng_action_set_node_title' => array(
174          '#label' => t('Set content title'),
175          '#arguments' => array(
176            'node' => array('#entity' => 'node', '#label' => t('Content')),
177          ),
178          '#module' => 'Node',
179        ),
180      'workflow_ng_action_add_node' => array(      'workflow_ng_action_add_node' => array(
181       '#label' => t('Add new content'),       '#label' => t('Add new content'),
182       '#arguments' => array(       '#arguments' => array(
# Line 231  function workflow_ng_action_node_sticky( Line 238  function workflow_ng_action_node_sticky(
238  }  }
239    
240  /**  /**
241     * Sets a node's title
242     */
243    function workflow_ng_action_set_node_title($node, $settings, &$arguments, &$log) {
244      extract( workflow_ng_token_replace_all(array('title'), $settings, $arguments, $log) );
245      $node->title = $title;
246      return array('node' => $node);
247    }
248    
249    
250    /**
251   * Action "Add a node"   * Action "Add a node"
252   */   */
253  function workflow_ng_action_add_node($author, $settings, &$arguments, &$log) {  function workflow_ng_action_add_node($author, $settings, &$arguments, &$log) {

Legend:
Removed from v.1.1.2.3.2.9  
changed lines
  Added in v.1.1.2.3.2.10

  ViewVC Help
Powered by ViewVC 1.1.2