You are here

function tmgmt_test_menu in Translation Management Tool 7

Implements hook_menu().

File

tests/tmgmt_test.module, line 75
Module file of the translation management test module.

Code

function tmgmt_test_menu() {
  $items['tmgmt-add-to-cart/%tmgmt_job_item'] = array(
    'title' => 'Add to cart',
    'description' => 'Provides the possibility to add testing job items into the cart.',
    'page callback' => 'tmgmt_test_add_to_cart',
    'page arguments' => array(
      1,
    ),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}