You are here

function node_export_node_operations in Node export 6.2

Same name and namespace in other branches
  1. 6.3 node_export.module \node_export_node_operations()
  2. 7.3 node_export.module \node_export_node_operations()

Implementation of hook_node_operations().

File

./node_export.module, line 123
The Node Export module.

Code

function node_export_node_operations() {
  $operations = array();
  if (user_access('export bulk nodes')) {
    $operations = array(
      'node_export' => array(
        'label' => t('Export nodes'),
        'callback' => 'node_export_node_bulk',
        'callback arguments' => array(
          FALSE,
        ),
      ),
    );
  }
  return $operations;
}