You are here

function safeword_menu in Safeword 8

Same name and namespace in other branches
  1. 7 safeword.module \safeword_menu()

Implements hook_menu().

File

./safeword.module, line 26
Provides a FieldAPI field type, widget, and several formatters for a combined human readable/machine name pair of values. Possible uses include automatic generation of editable pathauto segments, handy Views argument values, and impressing friends.

Code

function safeword_menu() {

  // Returns AJAX commands if the user has JavaScript turned on.
  $items['safeword/ajax/transliterate'] = array(
    'page callback' => 'safeword_ajax_callback',
    'type' => MENU_CALLBACK,
    'access arguments' => array(
      'access content',
    ),
  );
  return $items;
}