This file contains hidden or 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 | |
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; |
This file contains hidden or 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
# 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.) |