Skip to content

Instantly share code, notes, and snippets.

View heddn's full-sized avatar

Lucas Hedding heddn

View GitHub Profile
"repositories": [
{
"type": "path",
"url": "web/modules/custom/*"
},
{
"type" : "package",
"package" : {
"name" : "enyo/dropzone",
"version" : "dev-master",
uuid: 4e9d6dd0-accc-4536-814b-feba30935671
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_media
- media_entity.bundle.image
- node.type.page
id: node.page.field_media
field_name: field_media
uuid: 94263d4a-ca98-48ee-a158-7c0273dc7527
langcode: und
status: true
dependencies:
enforced:
module:
- file_browser
module:
- entity_browser_entity_form
name: browse_files
../vendor/bin/drush site-install --verbose --yes config_installer
Executing: mysql --defaults-extra-file=/tmp/drush_HuUL12 --database=circle_test --host=127.0.0.1 --port=3306 --silent < /tmp/drush_h7pB8E > /dev/null
You are about to DROP all tables in your 'circle_test' database. Do you want to continue? (y/n): y
Sites directory /home/ubuntu/libreD8/web/sites/default already exists [notice]
- proceeding.
Executing: mysql --defaults-extra-file=/tmp/drush_D10aQO --database=circle_test --host=127.0.0.1 --port=3306 --silent < /tmp/drush_qIWXVq > /dev/null
Executing: mysql --defaults-extra-file=/tmp/drush_DFomGA --database=circle_test --host=127.0.0.1 --port=3306 --silent < /tmp/drush_nM9fLc
Starting Drupal installation. This takes a while. Consider using the [ok]
--notify global option.
Installation complete. User name: admin User password: ZHZuuebEhg [ok]
==> default: Installing git
==> default: Finished installing git
==> default: Copied Puppetfile
==> default: ERROR: While executing gem ... (Errno::EACCES)
==> default: Permission denied - /usr/lib/ruby/gems/1.8/cache/bundler-1.11.2.gem
==> default: Installing librarian-puppet
==> default: /tmp/vagrant-shell: line 87: bundle: command not found
==> default: Finished installing librarian-puppet
==> default: Running initial librarian-puppet
==> default: /tmp/vagrant-shell: line 91: bundle: command not found
lucas@andrew ~/websites/epa $ drush @epa.sand updb -y
Features 7200 Add {cache_features} table.
Pathauto 7006 Create pathauto_state table, using data from pathauto_persist if it exists.
Views 7302 Remove headers field from cache tables @see system_update_7054().
Do you wish to run all pending updates? (y/n): y
Performed update: features_update_7200 [ok]
Performed update: pathauto_update_7006 [ok]
Performed update: views_update_7302 [ok]
WD search_api_server: SearchApiException: "0" Status: Request failed: Connection refused in SearchApiSolrConnection->checkResponse() (line 541
$ git grep md_entity
1 core/modules/comment/migration_templates/d6_comment_field.yml: plugin: md_entity:field_storage_config
2 core/modules/field/migration_templates/d6_field.yml: plugin: md_entity:field_storage_config
3 core/modules/file/migration_templates/d6_upload_field.yml: plugin: md_entity:field_storage_config
4 core/modules/migrate_drupal/src/Plugin/migrate/destination/EntityFieldStorageConfig.php: * id = "md_entity:field_storage_co
5 core/modules/taxonomy/migration_templates/d6_vocabulary_field.yml: plugin: md_entity:field_storage_config
6 core/modules/user/migration_templates/user_picture_field.yml: plugin: md_entity:field_storage_config
7 core/modules/user/migration_templates/user_profile_field.yml: plugin: md_entity:field_storage_config
q
id: d6_field
migration_tags:
- 'Drupal 6'
label: 'Field configuration'
source:
plugin: d6_field
constants:
entity_type: node
langcode: en
database_state_key: migrate_upgrade_6
field_user_reference:
plugin: entity_lookup
source: uuid
value_key: uuid
entity_type: user
ignore_case: true
// From Migration->transform():
return [
0 => 9,
]
// And what get's set to destination property:
return [
0 => [0 => 9],
1 => [0 => 10],
]