PDF attached
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
C:\Users\jmclaughlin\tmp\tryddevproject-12898>dir | |
Volume in drive C is Windows | |
Volume Serial Number is F4A3-09FB | |
Directory of C:\Users\jmclaughlin\tmp\tryddevproject-12898 | |
07/05/2022 03:40 PM <DIR> . | |
07/05/2022 03:40 PM <DIR> .. | |
07/05/2022 03:41 PM <DIR> .ddev | |
07/05/2022 03:40 PM 292 index.php |
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
C:\Users\jmclaughlin\ddev\ddev-test>ddev config --mutagen-enabled=false | |
You are reconfiguring the project at C:\Users\jmclaughlin\ddev\ddev-test. | |
The existing configuration will be updated and replaced. | |
Found a php codebase at C:\Users\jmclaughlin\ddev\ddev-test | |
Project type has no settings paths configured, so not creating settings file. | |
Configuration complete. You may now run 'ddev start'. | |
C:\Users\jmclaughlin\ddev\ddev-test>ddev start | |
Network ddev_default created | |
Starting ddev-test... |
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
❯ ddev debug test | |
Running C:\Program Files\Git\bin\bash.exe [-c /c/Users/JMCLAU~1/AppData/Local/Temp/test_ddev.sh] | |
OS Information: MINGW64_NT-10.0-19043 SCOPE-2020-034 3.1.7-340.x86_64 2021-10-12 16:29 UTC x86_64 Msys | |
User information: uid=4096(SCOPE+jmclaughlin) gid=4096 groups=4096 | |
DDEV version: ITEM VALUE | |
DDEV version v1.19.3 | |
architecture amd64 | |
db drud/ddev-dbserver-mariadb-10.3:v1.19.3 | |
dba phpmyadmin:5 | |
ddev-ssh-agent drud/ddev-ssh-agent:v1.19.0 |
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
# Unity Build files | |
*.dll -text | |
*.assets -text | |
*.resS -text | |
*.aspx -text | |
*.config -text | |
config -text | |
*.map -text | |
*.ini -text | |
*.xml -text |
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 | |
use Drupal\Core\Session\AccountInterface; | |
use Drupal\Core\Entity\EntityInterface; | |
use Drupal\Core\Access\AccessResult; | |
/** | |
* Implement hook_paragraph_access. | |
* | |
* @param \Drupal\Core\Entity\EntityInterface $entity |
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
/** | |
* Simple utility function to add special classes, prefixed with 'style-test' into | |
* the document. | |
* | |
* Example: | |
* ?style-test=test1+test2 | |
* Adds classes: style-test-test1 style-test-test2 | |
* | |
*/ | |
(function(Document, window) { |
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
<script type="text/javascript"> | |
var root = document.documentElement; | |
if (root.classList) { | |
root.classList.add('js'); | |
root.classList.remove('no-js'); | |
} | |
else { | |
root.className += ' js'; | |
var regex = new RegExp('(\\s|^)' + 'no-js' + '(\\s|$)'); | |
el.className = root.className.replace(regex, ' '); |
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
/** | |
* Pantheon HTTPS and www redirects. | |
*/ | |
if (isset($_SERVER['PANTHEON_ENVIRONMENT']) && php_sapi_name() !== 'cli') { | |
$domain = $_SERVER['HTTP_HOST']; | |
$www_redirect = false; | |
if (isset($_ENV['PANTHEON_ENVIRONMENT']) && $_ENV['PANTHEON_ENVIRONMENT'] === 'live') { | |
if (count(explode('.', $domain)) < 3 && stripos($domain, 'www.') === false) { | |
$domain = 'www.' . $domain; | |
$www_redirect = true; |
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
/* From: http://css-tricks.com/centering-in-the-unknown/ */ | |
/* This parent can be any width and height */ | |
.block { | |
text-align: center; | |
} | |
/* The ghost, nudged to maintain perfect centering */ | |
.block:before { | |
content: ''; |
NewerOlder