Skip to content

Instantly share code, notes, and snippets.

View hotwebmatter's full-sized avatar
:octocat:
git stash pop

Matthew Obert hotwebmatter

:octocat:
git stash pop
View GitHub Profile
# features-utils.sh
# Perform bulk operations on Drupal Features modules in Lando environments.
# Configuration
# Replace [features_bundle] with your features bundle.
# Replace [dev_alias] with the Drush alias for your Dev environment.
# Replace [stage_alias] with the Drush alias for your Stage environment.
# Notes
# To use without Lando, change "lando drush" to "drush" (requires local Drush.)
@hotwebmatter
hotwebmatter / module.php
Last active December 16, 2015 02:49 — forked from cafuego/module.php
<?php
function static_json_menu() {
// $items['view/path/that/returns/the/json'] = array(
$items['store-locator/json'] = array(
'title' => t('JSON Callback'),
'page callback' => 'mymod_callback',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;