You are here

function similarterms_menu in Similar By Terms 5

Same name and namespace in other branches
  1. 6 similarterms.module \similarterms_menu()
  2. 7 similarterms.module \similarterms_menu()

Implementation of hook_menu().

File

./similarterms.module, line 232
Similar By Terms module displays a block with similar content based on taxonomy terms.

Code

function similarterms_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/similarterms',
      'title' => t('Similar By Terms'),
      'description' => t('Basic Settings for similar term most settings are in the blocks config.'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'similarterms_admin_settings',
      ),
      'access' => user_access('administer site configuration'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}