Skip to content

Instantly share code, notes, and snippets.

View Padmakani's full-sized avatar

Padmakani Padmakani

  • Chennai
View GitHub Profile
<?php
/**
* Implements hook_menu().
*/
function mymodule_menu() {
$items['mymodule/%ctools_js/node/add/grab-this-deal'] = array(
'page callback' => 'mymodule_node_add_modal_callback',
'page arguments' => array(1),
'access arguments' => array('access content'),
);
print "Hello world";