Move asset_lookup and term_lookup plugins to farm_migrate.
This commit is contained in:
parent
2336e172a3
commit
c9ed7d316d
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Post update hooks for the farm_import_csv module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Install farm_migrate as a dependency of farm_import_csv.
|
||||
*/
|
||||
function farm_import_csv_post_update_install_farm_migrate(&$sandbox) {
|
||||
if (!\Drupal::service('module_handler')->moduleExists('farm_migrate')) {
|
||||
\Drupal::service('module_installer')->install(['farm_migrate']);
|
||||
}
|
||||
}
|
|
@ -12,6 +12,7 @@ dependencies:
|
|||
- farm:farm_location
|
||||
- farm:farm_log_asset
|
||||
- farm:farm_log_quantity
|
||||
- farm:farm_migrate
|
||||
- farm:farm_parent
|
||||
- farm:farm_quantity_standard
|
||||
- farm:quantity
|
||||
|
|
|
@ -38,6 +38,7 @@ class CsvImportTestBase extends MigrateTestBase {
|
|||
'farm_import_csv',
|
||||
'farm_import_csv_test',
|
||||
'farm_log_quantity',
|
||||
'farm_migrate',
|
||||
'farm_quantity_standard',
|
||||
'file',
|
||||
'filter',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: farmOS Migrate
|
||||
description: farmOS 1.x to 2.x migration tool.
|
||||
description: farmOS Migrate API plugins.
|
||||
type: module
|
||||
package: farmOS
|
||||
core_version_requirement: ^9
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\farm_import_csv\Plugin\migrate\process;
|
||||
namespace Drupal\farm_migrate\Plugin\migrate\process;
|
||||
|
||||
use Drupal\Component\Uuid\Uuid;
|
||||
use Drupal\migrate\MigrateExecutableInterface;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\farm_import_csv\Plugin\migrate\process;
|
||||
namespace Drupal\farm_migrate\Plugin\migrate\process;
|
||||
|
||||
use Drupal\migrate\MigrateExecutableInterface;
|
||||
use Drupal\migrate\MigrateSkipRowException;
|
Loading…
Reference in New Issue