You are here

function computed_field_tools_menu in Computed Field Tools 6

Same name and namespace in other branches
  1. 7 computed_field_tools.module \computed_field_tools_menu()

Implementation of hook_menu().

File

./computed_field_tools.module, line 26
This module offers a quick way to re-compute computed fields when needed.

Code

function computed_field_tools_menu() {
  $items = array();
  $items['admin/content/types/computed_field_recompute'] = array(
    'title' => 'Re-compute computed fields',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'computed_field_tools_recompute_form',
    ),
    'access arguments' => array(
      'recompute computed fields',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}