Skip to content

Instantly share code, notes, and snippets.

Avatar

Padmakani Padmakani

  • Chennai
View GitHub Profile
View popup
<?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'),
);