You are here

function party_devel_menu in Party 7

Same name and namespace in other branches
  1. 8.2 modules/party_devel/party_devel.module \party_devel_menu()

Implementation of hook_menu().

File

modules/party_devel/party_devel.module, line 9
Party Developer Tools

Code

function party_devel_menu() {
  $items = array();
  $items['admin/config/development/generate/party'] = array(
    'title' => 'Generate parties',
    'description' => 'Generate a given number of parties. Optionally delete current parties.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'party_devel_generate_parties_form',
    ),
    'access arguments' => array(
      'administer parties',
    ),
  );
  return $items;
}