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 | |
# be in the right directory | |
cd /Applications/MAMP/htdocs/domain8/core/scripts | |
tests=$1 | |
class=$2 | |
# pass any second var to disable verbosity | |
# run dt --clean to clean up | |
# run a specific class with dt domain Drupal\\domain\\Tests\\DomainInactiveTest |
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 | |
/** | |
* @file | |
* Additions to contact form handling. | |
*/ | |
use Drupal\Core\Render\Element; | |
use Symfony\Cmf\Component\Routing\RouteObjectInterface; |
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 | |
##### | |
# Copy to yopur home directory or web root and make executable. | |
# | |
# Run all tests for a module: | |
# > ./test.sh [name_of_module] | |
# | |
# Run a specific test class. | |
# > ./test.sh node Drupal\\Tests\\node\\Functional\\NodeAccessLanguageFallbackTest |
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 | |
####### | |
# This script assumes that you have composer and drush installed. | |
# Be sure to change the directory location and database credentials below. | |
# | |
# Place this file in your home directory or web root. Make it executable. | |
# To run, open Terminal and: | |
# > cd ~ | |
# > ./drupal8.sh |
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 | |
# be in the right directory | |
# edit this line as appropriate | |
cd /Applications/MAMP/htdocs | |
# assign the path to drush. | |
# if drush is not in your path, or if you use multiple versions. | |
drush='/Applications/MAMP/drush/drush' |