1

I've created a new installation profile name ABCD and it is showing on a "select an installation profile" Page

enter image description here

But it shows standard as a default option. How could i make ABCD as default.

I added hook_form_alter and hook_form_FORM_ID_alter in abcd.profile file but it's not working. As I've read in Drupal.org that bootstrap is fully loaded before reading .profile file but still form alter in not being executed in my case. Any idea ?

2

In your profile .info file you can add the distribution name property in the following format:

distribution:
  name: ABCD

Notice: ADD this property but leave original top level "name" property in place.

This will totally omit the "Choose profile" step, and your profile will be auto selected for the entire process.

enter image description here

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.