O'Reilly logo

Drupal 7 Development by Example Beginner's Guide by Kurt Madel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — uninstalling and renaming the Colorbox File module

Now that we have implemented the hook_uninstall function for the Colorbox File module, we are ready to test that it works and then move forward with renaming the module to Media Colorbox.

  1. Open the Terminal (Mac OS X) or Command Prompt (Windows) application, change to the root directory of our d7dev site, and type the following command:
    $ drush dis colorbox_file The following extensions will be disabled: colorbox_file Do you really want to continue? (y/n): y colorbox_file was disabled successfully. [ok] $ drush pm-uninstall colorbox_file The following modules will be uninstalled: colorbox_file Do you really want to continue? (y/n): y colorbox_file was successfully uninstalled. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required