Skip to content

Instantly share code, notes, and snippets.

@manojbisht891
manojbisht891 / migrate_plus.migration.upgrade_d7_taxonomy_term_translation_set.yml
Created July 31, 2021 15:52
migrate_plus.migration.upgrade_d7_taxonomy_term_translation_set.yml
langcode: en
status: true
dependencies: { }
id: upgrade_d7_taxonomy_term_translation_set
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Content
@manojbisht891
manojbisht891 / TermTranslationSet.php
Created July 31, 2021 15:30
TermTranslationSet.php
<?php
namespace Drupal\example\Plugin\migrate\source\d7;
use Drupal\migrate\Row;
use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity;
use Drupal\taxonomy\Entity\Term;
/**
* Provides Drupal 7 taxonomy term locales source plugin.
@manojbisht891
manojbisht891 / docker-compose.yml
Last active July 5, 2021 03:25
docker-compose for NGINX Load Balancing
version: "3"
services:
nginx_1:
image: nginx
container_name: "nginx_1"
volumes:
- ./templates:/etc/nginx/templates
ports: