Skip to content

Instantly share code, notes, and snippets.

View ossobuffo's full-sized avatar

Daniel Johnson ossobuffo

View GitHub Profile
@teglia
teglia / FCEntityMigrate.php
Last active December 12, 2023 13:21
Migrating Field Collections to Paragraphs on an empty Drupal 8 site WITHOUT migrate_tools or migrate_plus
<?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.