function sheetnode_html_menu in Sheetnode 7
Same name and namespace in other branches
- 6 modules/sheetnode_html/sheetnode_html.module \sheetnode_html_menu()
- 7.2 modules/sheetnode_html/sheetnode_html.module \sheetnode_html_menu()
Implementation of hook_menu().
File
- modules/
sheetnode_html/ sheetnode_html.module, line 11 - Module file for the sheetnode_html module. This extends sheetnodes to enable inmporting of html to sheetnodes.
Code
function sheetnode_html_menu() {
$items['node/add/sheetnode_html'] = array(
'title' => 'Sheetnode import from HTML page',
'access arguments' => array(
'create sheetnode',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'sheetnode_html_import_form',
),
'description' => 'Create a new sheetnode with table from HTML page.',
);
return $items;
}