You are here

function signature_forum_menu in Signatures for Forums 5

Same name and namespace in other branches
  1. 5.2 signature_forum.module \signature_forum_menu()
  2. 6 signature_forum.module \signature_forum_menu()

Implementation of hook_menu().

File

./signature_forum.module, line 34

Code

function signature_forum_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/signature_forum',
      'title' => t('Signatures for Forums'),
      'description' => t('Manages users\' signatures.'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'signature_forum_admin_settings',
      ),
      'access' => user_access('administer Signatures for Forums'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}