function _paragraphs_migration_bundle_adjust

Remove 'field_' prefix from field collection bundles.

Parameters

array $migration: The migration configuration to process.

Deprecated

in paragraphs:8.x-1.13 and is removed from paragraphs:8.x-2.0. Use \Drupal\paragraphs\MigrationPluginsAlterer::paragraphsMigrationBundleAdjust().

See also

https://www.drupal.org/project/paragraphs/issues/2911244

File

paragraphs/paragraphs.module, line 498
Contains paragraphs.module

Code

function _paragraphs_migration_bundle_adjust(array &$migration) {
  $migration_plugins_alterer = \Drupal::service('paragraphs.migration_plugins_alterer');
  assert($migration_plugins_alterer instanceof MigrationPluginsAlterer);
  $migration_plugins_alterer
    ->paragraphsMigrationBundleAdjust($migration);
}