The project machine name isn't used in filenames and hook function names

Created on 22 December 2022, over 2 years ago
Updated 26 May 2023, about 2 years ago

Problem/Motivation

This is related to this issue reported for simplytest project.

When the module is installed using composer, the folder getting downloaded in modules/contrib is named 'views_fractionslider'. Even the composer command is using the same name.composer require 'drupal/views_fractionslider'. But if we try to install the module using drush drush pm:install views_fractionslider, drush will throw error because the .info.yml file of the module is named fractionslider.info.yml. This seems to be confusing. Can we update the folder name and composer command to just "fractionslider" and composer require 'drupal/fractionslider' or change the machine name to "views_fractionslider"?

Steps to reproduce

  1. composer require 'drupal/views_fractionslider'
  2. drush pm:install views_fractionslider

Proposed resolution

Update the module name accordingly

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India Akhil Babu Chengannur

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024