Skip to main content

Drupal

Renaming / Re-using Drupal modules

So, you have already build a cool module that does a whole bunch of cool stuff. This module has been deployed in production, for a specific customer of yours, and the naming convention of the module follows a pattern related to that specific customer. For example, let's suppose that you have named the module "foo".

Now, you want the functionality that this module provides in a different project. The problem, though, is that you cannot use the same name. You have to change it. You want to name it "bar".