Dependency namespacing in .info.yml file

Created on 13 July 2023, 12 months ago
Updated 19 June 2024, 9 days ago

Problem/Motivation

According to drupal standard ,dependencies: a list of other modules your module depends on. Dependencies on Drupal core or contrib modules should be namespaced in the format {project}:{module}, where {project} is the project name as it appears in the Drupal.org URL (e.g. drupal.org/project/views) and {module} is the module's machine name.
https://www.drupal.org/docs/creating-custom-modules/let-drupal-know-abou...

Also, the codebase uses classes from these modules and submodules, and that should be stated in the *.info.yml too:
- commerce:commerce_store
- commerce:commerce_product
- commerce:commerce_checkout
- commerce:commerce_price
- drupal:user
- drupal:node
- state_machine:state_machine

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

9.0

Component

Code

Created by

🇸🇰Slovakia kaszarobert

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024