| gitflow | git |
|---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
This file contains hidden or 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 | |
| namespace Drupal\migrate_custom\Plugin\migrate\source; | |
| use Drupal\Core\Database\Query\Condition; | |
| use Drupal\migrate\Row; | |
| use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity; | |
| /** | |
| * Drupal 7 file source from database. |
This file contains hidden or 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
| use Drupal\migrate\Plugin\MigrationInterface; | |
| use Drupal\migrate\Plugin\MigrateSourceInterface; | |
| use Drupal\migrate\Row; | |
| /** | |
| * Implements hook_migrate_prepare_row(). | |
| */ | |
| function YOUR_MODULE_migrate_prepare_row(Row $row, MigrateSourceInterface $source, MigrationInterface $migration) { | |
| switch ($migration->id()) { | |
| case 'config_name': |
This file contains hidden or 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
| { | |
| "info": { | |
| "_postman_id": "327e8396-b20c-49f7-8827-214aaa11203c", | |
| "name": "GAO API for PR Tests", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
| }, | |
| "item": [ | |
| { | |
| "name": "GAO Product Post", | |
| "request": { |
This file contains hidden or 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 | |
| /** | |
| * Sets an id for the first iframe situated in the element specified by id. | |
| * Needed when wanting to fill in WYSIWYG editor situated in an iframe without identifier. | |
| * | |
| * @Given /^the iframe in element "(?P<element>[^"]*)" has id "(?P<id>[^"]*)"$/ | |
| */ | |
| public function theIframeInElementHasId($element_id, $iframe_id) { | |
| $function = <<<JS |
- edit the composer.json file to add a patch.
"extra": {
"enable-patching": true,
"patches": {
"drupal/core": {
"<patch1 information>": "<patch1 file path>",
"<patch2 information>": "<patch2 file path>"
}
OlderNewer