You are here

function farm_client_menu in farmOS 7

Implements hook_menu().

File

modules/farm/farm_client/farm_client.module, line 26
Farm Client module.

Code

function farm_client_menu() {
  $items = array();

  // Serve client JavaScript files.
  $items['farm/client/js/%/index.js'] = array(
    'title' => 'Deliver client module JS',
    'page callback' => 'farm_client_js_deliver',
    'page arguments' => array(
      3,
    ),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}