Overview

These are notes on frequently used commands during Drupal module development.

Clearing Cache

drushcr

Importing Translation Files

The following is an example of importing a Japanese language file for a module called itaiji.

drushlocale:importja/app/web/modules/custom/Drupal-module-itaiji/translations/itaiji.ja.po

Reinstalling a Module

drushpm-uninstallitaiji&&drushenitaiji