Skip to content

Instantly share code, notes, and snippets.

View argiepiano's full-sized avatar

Alejandro Cremaschi argiepiano

  • TenutoWeb LLC
  • Westminster, Colorado
View GitHub Profile
<?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.
@argiepiano
argiepiano / gist:2e899f515fc9cac5f42dfe08c5de0db4
Created December 17, 2023 17:05
Show Backdrop's non-core enabled modules
{
"_config_name": "views.view.modules",
"name": "modules",
"description": "",
"tag": "",
"disabled": false,
"base_table": "system",
"human_name": "Modules",
"core": "1.27.x-dev",
"display": {
@argiepiano
argiepiano / testing_stuff.info
Created August 6, 2023 14:50
Testing stuff module - download both files and put in same folder inside the modules folder
name = Testing stuff
description = Just to test stuff
backdrop = 1.x
type = module