Postponed
Project:
Front Page
Version:
10.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2024 at 08:17 UTC
Updated:
8 May 2025 at 06:13 UTC
Jump to comment: Most recent
Rename the module and all settings and namespaces to "front" like the module name and directory name. That's best practice.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
aaron.ferris commentedI was going to start this, but do we think it'd be worth waiting for some of the bulkier changes to be in before doing this, to avoid conflicts etc?
Happy to have a go at this when we feel it would be a good time.
Comment #4
aaron.ferris commentedComment #5
anybodyThanks @aaron.ferris yes let's wait for that! It's also optional with no "real" benefit.
Comment #6
aaron.ferris commentedSounds good thanks
Comment #7
erwangel commentedAlthough that's confusing for people wanting to install the module. You require it with composer as "front" but you have it to enable it with drush as "front_page". confusing and not very intuitive when drush tells you "Unable to install modules front due to missing modules front." I had to look in the modules's directory to realize that its "real" name was "front_page" and not "front". I think a quick fix will be useful so more people could install it and you could gain more feedback.
Comment #8
elc commentedHad a thought about this as it will be a rather large breaking change.
Haven't figured out the intricate details, or if this would work at all but it seems like it would. Use the lifecycle on the sub-dir module.
Agree with holding off until majority of changes are in so as not to increase the amount of work needed to do this.
Comment #9
elc commentedHad a think about this again - add a sub-module called "front" which requires "front_page" as a dependency. Fixes the original problem of trying to install the wrong module name, but without needing to make major changes to current module at all.
Optional - create an empty project using the namespace "front_page" which is marked as deprecated and to use "front" module instead.