Dependency namespacing in .info.yml file

Created on 13 July 2023, over 1 year ago
Updated 3 July 2024, 6 months 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.71.5 2024