This question already has an answer here:

I made the mistake of installing and enabling the imce file manager module from site admin and it placed it in the root directory. I want to move it into the contrib folder but I can't find any documentation of the procedure relating specifically to Drupal 8.

Should I disable the module prior to doing this or should I just move it from root to contrib?

After moving it to the contrib folder I run drush cr but do I need to take additional steps?

marked as duplicate by leymannx, Clive 8 Jul 24 at 7:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Move it, then clear your registry. That should work. If it doesn't, move it back, and post back here. – Jaypan Jul 24 at 0:40

Browse other questions tagged or ask your own question.