Hello Everyone,

Hope you all are doing well !!

I am a fresher here to Drupal, and my problem statement is as follows:
There is an existing Drupal code (.info and .module files only in repo), which needs to be promoted to Drupal9 which will contain .info.yml file, I have tried to manipulate existing one, but it throws error saying "Missing 'application'" which is added in my dependencies in .yml file. I am attaching screenshots for reference and looking forward for some dedicated support please to fix this error.

Note: The Drupal Module I am trying to install is on IBM product which is API connect Developer portal v10.0.5.x_lts.

I am adding these 2 files in a zip folder and adding it to install new Drupal module:
Only local images are allowed.

Error Seen :
Only local images are allowed.

New info.yml file
Only local images are allowed.

Existing .info file
Only local images are allowed.

Please let me know what other details I need to share to know more about the issue and what exactly I need to do in order to migrate the custom code as-is on Drupal higher versions. 

Thanks,

Sumit Kapoor

Comments

gisle’s picture

You cannot embed screenshots hosted elsewhere. Instead, link to them.

- gisle

sumitk7838’s picture

Could you please share a link where I could upload or if I could share the same on your emailID would be helpful

vm’s picture

imgur.com or similar. for code, can use pastebin.com

sumitk7838’s picture

I have added screenshots, please let me know if more information is required

sumitk7838’s picture

Hello All,

I am adding these 2 files in a zip folder and adding it to install new Drupal module:
https://imgur.com/a/Lb5iQPt  
 

Error Seen : Missing 'Application' which is present in the dependency

New info.yml file & Existing .info file
https://imgur.com/a/WkMeup8

sumitk7838’s picture

Hi Everyone, 

Can someone please guide.

Thanks,

Sumit

jaypan’s picture

A Drupal 9 .info.yml file would look like this:

name: Module Name
description: A module that does something
core_version_requirement: ^9
type: module
dependencies:
  - application:application

Contact me to contract me for D7 -> D10/11 migrations.