Skip to content

Instantly share code, notes, and snippets.

@generalredneck
generalredneck / composer.json
Created April 10, 2017 17:23
test dependency
{
"name": "allan/test_dependency",
"type": "drupal-module",
"authors": [
{
"name": "Allan Chappell",
"email": "allan@fourkitchens.com"
}
],
"require": {}
@generalredneck
generalredneck / command-output.txt
Created March 8, 2017 23:07
output when type is undefined in drupal-vm
$ vagrant up
Bringing machine 'support.local' up with 'virtualbox' provider...
==> support.local: Checking if box 'geerlingguy/ubuntu1604' is up to date...
==> support.local: Fixed port collision for 22 => 2222. Now on port 2200.
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builtin/mixin_synced_folders.rb:137:in `block in synced_folders': Internal error. Report this as a bug. Invalid: shared (RuntimeError)
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builtin/mixin_synced_folders.rb:125:in `each'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builtin/mixin_synced_folders.rb:125:in `synced_folders'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/builtin/synced_folder_cleanup.rb:19:in `call'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.1/plug
@generalredneck
generalredneck / command-output.txt
Last active March 8, 2017 23:03
Output of drupal-vm when type is nothing
$ vagrant up
Bringing machine 'support.local' up with 'virtualbox' provider...
==> support.local: Checking if box 'geerlingguy/ubuntu1604' is up to date...
==> support.local: Fixed port collision for 22 => 2222. Now on port 2200.
It appears your machine doesn't support NFS, or there is not an
adapter to enable NFS on this machine for Vagrant. Please verify
that `nfsd` is installed on your machine, and try again. If you're
on Windows, NFS isn't supported. If the problem persists, please
contact Vagrant support.
Migration Status Total Created Updated Failed Last imported
upgrade_d7_user Idle 2996 18 2977 1 2016-06-21 17:03:51
Group: migrate_drupal_7 Status Total Imported Unprocessed Last imported
upgrade_d7_url_alias Idle 16476 16476 0 2016-06-10 17:14:42
upgrade_d7_user_role Idle 59 59 0 2016-06-10 16:57:15
upgrade_d7_user Idle 2977 2977 0 2016-06-10 17:06:44
upgrade_d7_node_links Idle 901 901 0 2016-06-10 17:11:56
upgrade_d7_taxonomy_vocabulary Idle 60 60 0 2016-06-10 16:55:50
upgrade_d7_taxonomy_term Idle 4278 4253 0 2016-06-10 16:57:05
upgrade_d7_node_page Idle 54 54 0 2016-06-10 17:10:59
upgrade_d7_node_page_1211
process:
field_temp_tax_1:
plugin: iterator
source: field_album_jcarousel
process:
target_id: tid
field_temp_tax_2:
plugin: iterator
source: field_album_slideshow
process:
<?php
namespace Drupal\custom\Plugin\migrate\source\d7;
use Drupal\user\Plugin\migrate\source\d7\User as D7User;
/**
* Drupal 7 user source from database.
*
<?php
namespace Drupal\wg_drupal7_migrate\Plugin\migrate\source;
use Drupal\node\Plugin\migrate\source\d7\NodeType as MigrateD7NodeType;
/**
* Drupal 7 Node types source from database.
*
* @MigrateDrupalSource(
* id = "wg_d7_node_type",
* source_provider = "node"
* )
name: wg_test
type: module
description: My Awesome Module
core: 8.x
package: Custom
diff --git a/drush/example.drushrc.php b/drush/example.drushrc.php
deleted file mode 100644
index 5d1d253..0000000
--- a/drush/example.drushrc.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-/**
- * @file