You are here

function nodejs_config_menu in Node.js integration 7

Same name and namespace in other branches
  1. 6 nodejs_config/nodejs_config.module \nodejs_config_menu()

Implements hook_menu().

File

nodejs_config/nodejs_config.module, line 6

Code

function nodejs_config_menu() {
  return array(
    'admin/config/nodejs/js' => array(
      'title' => 'Node.js server configuration builder',
      'description' => 'A utility that outputs configuration suggestions. Copy & paste the output from this utility to nodejs.config.js',
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'nodejs_config_form',
      ),
      'access arguments' => array(
        'administer site configuration',
      ),
    ),
  );
}