You are here

function node_export_permission in Node export 7.3

Implements hook_permission().

File

./node_export.module, line 13
The Node export module.

Code

function node_export_permission() {
  return array(
    'export nodes' => array(
      'title' => t('Export nodes'),
    ),
    'export own nodes' => array(
      'title' => t('Export own nodes'),
    ),
    'use PHP to import nodes' => array(
      'title' => t('Use PHP to import nodes'),
      'description' => t('Required for importing, but can allow execution of PHP.'),
      'restrict access' => TRUE,
    ),
  );
}