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