diff --git a/cdesai_migrate.info.yml b/cdesai_migrate.info.yml new file mode 100644 index 0000000..dcee33b --- /dev/null +++ b/cdesai_migrate.info.yml @@ -0,0 +1,14 @@ +type: module +name: Demo Migration Module +description: 'Migrate content from a CSV file. DO NOT INSTALL' +package: Migration +core: 8.x +core_version_requirement: ^8 || ^9 +dependencies: + - migrate + - migrate_plus + - migrate_tools + - migrate_source_csv + +# Hides the module from the Admin UI. +hidden: true diff --git a/cdesai_migrate.install b/cdesai_migrate.install new file mode 100644 index 0000000..067864a --- /dev/null +++ b/cdesai_migrate.install @@ -0,0 +1,23 @@ + t('Demo Migration module is not ready for the installation. This module heavily redacted version of a module used in a project. Do not install.'), + 'severity' => REQUIREMENT_ERROR, + ]; + } + + return $requirements; +} diff --git a/cdesai_migrate.permissions.yml b/cdesai_migrate.permissions.yml new file mode 100644 index 0000000..2b0e31e --- /dev/null +++ b/cdesai_migrate.permissions.yml @@ -0,0 +1,3 @@ +administer demo migrate: + title: 'Administer Demo Migrate' + restrict access: true diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..4c609ad --- /dev/null +++ b/composer.json @@ -0,0 +1,22 @@ +{ + "name": "drupal/cdesai_migrate", + "description": "Demo of custom text formatters based on Unleashed Technologies challenge.", + "type": "drupal-module", + "homepage": "https://wezbyte.com", + "keywords": ["Drupal", "Chintan", "Desai", "Migration"], + "minimum-stability": "dev", + "license": "GPL-2.0-or-later", + "authors": [ + { + "name": "Chintan Desai", + "email": "chintan@wezbyte.com" + } + ], + "require": { + "drupal/core": "^8.9 || ^9.3", + "drupal/migrate_file": "^2.0", + "drupal/migrate_plus": "^5.1", + "drupal/migrate_source_csv": "^3.4", + "drupal/migrate_tools": "^5.0" + } +}