This file contains 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
Professor ID | Title | Author | |
---|---|---|---|
P01 | The pushcart war | Jean Merrill | |
P02 | The definite guide to Drupal 7 | Benjamin Melançon et al. | |
P03 | The five love languages | Gary Chapman |
This file contains 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
/** | |
* @file | |
* Example code from http://agaric.com/blogs/conditional-fields-paragraphs-using-javascript-states-api-drupal-8. | |
*/ | |
/** | |
* Implements hook_field_widget_WIDGET_TYPE_form_alter(). | |
* | |
* Example of conditional fields in paragraphs for Drupal 8. | |
*/ |
This file contains 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
# This is the *third* configuration to import with configuration type: 'Migration' | |
# This migration demonstrates importing from a monolithic JSON file. | |
# Forked from https://github.com/heddn/json_example_migrate/blob/json/web/modules/custom/custom_migrate/config/install/migrate_plus.migration.omdb_json.yml | |
uuid: b113ad9f-1ed7-43e5-802c-0e0270d2b7fa | |
id: omdb_json_article | |
label: JSON feed of movies (Article) | |
migration_group: json_example | |
source: | |
# We use the JSON source plugin. | |
plugin: url |
This file contains 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 Behat\Mink\Exception\ExpectationException; | |
use Behat\MinkExtension\Context\RawMinkContext; | |
// Located at ./features/bootstrap/ | |
/** | |
* FeatureContext class defines custom step definitions for Behat. | |
*/ |
This file contains 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
. | |
|-- core | |
|-- index.php | |
|-- modules | |
| `-- custom | |
| `-- ud_migrations | |
| `-- ud_migrations_first | |
| |-- migrations | |
| | `-- udm_first.yml | |
| `-- ud_migrations_first.info.yml |
This file contains 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
id: udm_process_intro | |
label: 'UD Process Plugins Introduction' | |
source: ... | |
process: | |
type: ... | |
title: | |
- | |
plugin: concat | |
source: | |
- first_name |
This file contains 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
process: | |
body/value: profile | |
body/format: | |
plugin: default_value | |
default_value: restricted_html |
This file contains 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
source: | |
defaults: | |
MY_VALUE: 'http://understanddrupal.com' | |
plugin: source_plugin_name | |
source_plugin_config: source_config_value | |
process: | |
process_destination: defaults/MY_VALUE |
This file contains 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
# 1) Run the migration. | |
$ drush migrate:import udm_process_intro | |
# 2) Some non recoverable error occurs. Check the status of the migration. | |
$ drush migrate:status udm_process_intro | |
# 3) Stop the migration. | |
$ drush migrate:stop udm_process_intro | |
# 4) Reset the status to idle. |
This file contains 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
destination: | |
plugin: 'entity:file' |
OlderNewer