You are here

function _fc_menu in Field Complete 7

Implements hook_menu().

1 call to _fc_menu()
fc_menu in ./fc.module
Implements hook_menu().

File

./fc.registry.inc, line 27
Field Complete - Provides field-based completeness for any entity - registry.

Code

function _fc_menu() {
  return array(
    'admin/config/content/fc' => array(
      'title' => 'Field Complete',
      'description' => t('Settings for the field complete module.'),
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'fc_settings',
      ),
      'access arguments' => array(
        'administer fc settings',
      ),
      'file' => 'fc.admin.inc',
      'type' => MENU_NORMAL_ITEM,
    ),
    'admin/config/content/fc/settings' => array(
      'title' => 'Settings',
      'description' => t('Settings for the field complete module.'),
      'type' => MENU_DEFAULT_LOCAL_TASK,
      'weight' => 0,
    ),
    'admin/config/content/fc/rebuild' => array(
      'title' => 'Rebuild',
      'description' => t('Rebuild the field completeness table.'),
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'fc_rebuild',
      ),
      'access arguments' => array(
        'administer fc settings',
      ),
      'file' => 'fc.admin.inc',
      'type' => MENU_LOCAL_TASK,
      'weight' => 5,
    ),
  );
}