You are here

function farm_mapknitter_menu in farmOS 7

Implements hook_menu().

File

modules/farm/farm_mapknitter/farm_mapknitter.module, line 39
Code for the Farm MapKnitter module.

Code

function farm_mapknitter_menu() {
  $items = array();
  $items['admin/config/farm/mapknitter'] = array(
    'title' => 'MapKnitter',
    'description' => 'Include a MapKnitter layer in your farm maps.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'farm_mapknitter_form',
    ),
    'access arguments' => array(
      'administer farm_mapknitter module',
    ),
  );
  return $items;
}