Skip to content

Instantly share code, notes, and snippets.

@dawehner
Created May 9, 2009 23:47
Show Gist options
  • Save dawehner/109442 to your computer and use it in GitHub Desktop.
Save dawehner/109442 to your computer and use it in GitHub Desktop.
<?php
// $Id$
/**
* Implementation of hook_form_privatemsg_new_alter().
*/
function foo_form_privatemsg_new_alter(&$form, &$form_state) {
$form['#submit'][] = 'foo_form_privatemsg_new_submit';
}
/**
* Implementation of hook_menu_alter().
*/
function foo_menu_alter() {
$callbacks['messages/user-name-autocomplete']['page callback'] = 'foo_messages_autocomplete_callback';
}
function foo_messages_autocomplete_callbac($string) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment