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
#!/bin/bash | |
# | |
# Sets up a local Drupal 7 branch review and attempts a merge with a forked-from repo. | |
# | |
# @author Justin Endler | |
# | |
defaultsettings="http://drupalcode.org/project/drupal.git/blob_plain/HEAD:/sites/default/default.settings.php" | |
echo -e "\nThis script is D7-specific." |
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
#!/bin/bash | |
# | |
# Sets up a local Drupal 7 environment for working on a feature branch. | |
# | |
# @author Justin Endler | |
# | |
defaultsettings="http://drupalcode.org/project/drupal.git/blob_plain/HEAD:/sites/default/default.settings.php" | |
echo -e "\nThis script is D7-specific." |
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 | |
/** | |
* Implements hook_theme(). | |
* | |
* Drupal 7 view template-ing from a module. | |
* | |
* @author Justin Endler | |
*/ | |
function mymodule_theme($existing, $type, $theme, $path) { | |
$module_path = drupal_get_path('module', 'mymodule'); |
NewerOlder