0

I'm developing my first drupal 8 module, a custom migration module, the info.yml file is written as follow :

name : Drupal Center Custom Migrate
description : This module provides custom migration configuration and plugins to migrate my custom site from drupal 6.
type : module
core : 8.x

package : Custom migrate
dependencies :
  - migrate
  - migrate_plus
  - migrate_tools
  - migrate_upgrade
  - migrate_drupal

The above code is saved as dc_custom_migrate.info.yml . This module also provides some config migration file and some custom source plugins.

The problem is my custom module is not shown up in modules list.

I can't figure it up where am I doing wrong!!!

PS. I'm developing in windows 10 environment and using Aquia Dev Desktop 2 as web service simulator.

1 Answer 1

3

Remove the spaces between the identifiers and colons:

name: Drupal Center Custom Migrate
description: This module provides custom migration configuration and plugins to migrate my custom site from drupal 6.
type: module
core: 8.x

package: Custom migrate
dependencies:
  - migrate
  - migrate_plus
  - migrate_tools
  - migrate_upgrade
  - migrate_drupal

Then it'll work.

See the YAML rules for more info.

1
  • Thanks, I think I should have change all my migration configuration files as well. Nov 29, 2017 at 15:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.