This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// I have removed irrelevant portions!!! | |
/** | |
* Implements hook_menu(). | |
*/ | |
function vhb_menu() { | |
// ... | |
$menu['node/%node/edit/status/%'] = array( // notice the first placeholder: %node. This will auto-load the node with the NID specified in that position, and will pass the fully loaded node to the function. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_config_name": "views.view.modules", | |
"name": "modules", | |
"description": "", | |
"tag": "", | |
"disabled": false, | |
"base_table": "system", | |
"human_name": "Modules", | |
"core": "1.27.x-dev", | |
"display": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = Testing stuff | |
description = Just to test stuff | |
backdrop = 1.x | |
type = module |