Skip to content

Instantly share code, notes, and snippets.

View dustinleblanc's full-sized avatar
🤣

Dustin LeBlanc dustinleblanc

🤣
View GitHub Profile
@dustinleblanc
dustinleblanc / .lando.yml
Last active September 1, 2021 19:15
Pantheon Build Tools with Lando Behat Testing
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
@dustinleblanc
dustinleblanc / BardContent.php
Created October 20, 2024 19:05
WIP Bard Content migration from Statamic to Drupal. Not complete or robust, but working for my use case right now
<?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;