Map field_collection_item and 'paragraphs_item' fields to 'paragraph'.
array $migration: The migration to process.
string $destination: The process destination.
in paragraphs:8.x-1.13 and is removed from paragraphs:8.x-2.0. Use \Drupal\paragraphs\MigrationPluginsAlterer::paragraphsMigrationEntityTypeAdjust().
https://www.drupal.org/project/paragraphs/issues/2911244
function _paragraphs_migration_entity_type_adjust(array &$migration, $destination = 'entity_type') {
$migration_plugins_alterer = \Drupal::service('paragraphs.migration_plugins_alterer');
assert($migration_plugins_alterer instanceof MigrationPluginsAlterer);
$migration_plugins_alterer
->paragraphsMigrationEntityTypeAdjust($migration, $destination);
}