The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
<?php | |
namespace Drupal\migrate_statamic\Plugin\migrate\process; | |
use Drupal\Component\Transliteration\TransliterationInterface; | |
use Drupal\Core\Entity\EntityTypeManagerInterface; | |
use Drupal\Core\Language\LanguageInterface; | |
use Drupal\Core\Plugin\ContainerFactoryPluginInterface; | |
use Drupal\migrate\MigrateExecutableInterface; | |
use Drupal\migrate\ProcessPluginBase; |
name: some-site | |
recipe: pantheon | |
config: | |
framework: drupal8 | |
env: dev | |
site: some-site | |
id: some-uuid-string-here | |
drush: 8.3 | |
php: '7.3' | |
webroot: web |
proxy: | |
node: | |
- appname-bs.lndo.site:3000 | |
services: | |
node: | |
type: node | |
# Change as needed | |
build: | |
- "cd /app && yarn install" | |
- "cd /app && yarn dev" |
proxy: | |
mannequin: | |
- appname-styleguide.lndo.site | |
node: | |
- appname-bs.lndo.site:3000 | |
services: | |
mannequin: | |
type: compose | |
services: | |
image: php:7.3 |
name: haxcms | |
recipe: lemp | |
config: | |
php: '7.2' | |
webroot: ./web # <- relative to the repo root! | |
database: mariadb | |
tooling: | |
magic: | |
service: appserver | |
cmd: ./magic_script.sh |
name: client | |
recipe: drupal7 | |
config: | |
webroot: docroot | |
xdebug: true | |
php: '7.1' | |
via: nginx | |
services: | |
appserver: | |
composer: |
name: cool-app | |
recipe: laravel | |
compose: | |
- docker-compose.yml | |
config: | |
php: '7.1' | |
via: nginx | |
webroot: public |
<?php | |
class DrupalProjectValetDriver extends ValetDriver | |
{ | |
/** | |
* Determine if the driver serves the request. | |
* | |
* @param string $sitePath | |
* @param string $siteName | |
* @param string $uri |
$color-schemes: ( | |
numba_one $brand-one, | |
numba_two $brand-two, | |
numba_three $brand-three, | |
); | |
@each $color-scheme in $color-schemes { | |
body.#{nth($color-scheme, 1)} { | |
$dark: darken(nth($color-scheme, 2), 20%); | |
$med: nth($color-scheme, 2); |