I have an installation profile that will be installed purely via Drush/CLI. So I need to prevent anyone to run the installation from web interface.

What would be the best approach?


Just specify hidden: true in the info yml file

  • Sorry, I didn't meant to prevent my profile to be installed. I meant to prevent running the installation process from the UI as whole. Like deleting the install file but not that intrusive.
    – user21641
    Jul 15 '15 at 21:23
  • @IvanJaros No answer yet? Got the same problem...
    – TNT
    Jul 9 '17 at 9:27
  • @TNT I have ended up with different setup now. I have CI that runs the whole installation process and creates sql dump and I have removed the installation file and now I create new "instances" just by importing the sql dump + custom setup wizard form.
    – user21641
    Jul 9 '17 at 10:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy