function hook_pipes_steps() {
// The keys of the array are the function names.
$items['node_add'] =
array(
// Use 'title' for the title that will be shown to the user.
'title' =>
t('A node add form'),
// The input that this takes. The special type 'null' indicates that an input is not required.
// Stuff within master array is AND-ed. Stuff within slave arrays are OR-ed.
array('node',
'node type',
'string',
'null'),
),
// Defaults to use in the case that no data is passed. Optional key. Numeric values are passed through arg().
1,
),
// What type of data does this function output?
'output' => 'form',
// Altering the data on certain values.
// If it is_null. Values ending in () are treated as functions. Everything else is just returned/used.
'is_null' => 'drupal_handle_null_node_request()',
),
);
return $items;
}