You are here

function twilio_menu_alter in Twilio 7

Implements hook_menu_alter().

File

./twilio.module, line 71
Twilio module

Code

function twilio_menu_alter(&$callbacks) {
  $callbacks['user/%user_category/edit/twilio']['page callback'] = 'twilio_user_settings';
  $callbacks['user/%user_category/edit/twilio']['module'] = 'twilio';
  $callbacks['user/%user_category/edit/twilio']['page arguments'] = array(
    1,
  );
  $callbacks['user/%user_category/edit/twilio']['file'] = 'twilio.pages.inc';
  $callbacks['user/%user_category/edit/twilio']['access callback'] = array(
    'twilio_edit_access',
  );
}