Installation profiles combine Drupal core, contributed modules, pre-defined functionality and configuration for the purpose to quickly set up Drupal sites. You can read more about Drupal Installation profiles on drupal.org.
You can use the default Shell plugin or the Drupal plugin.
Examples
Shell Plugin
Drupal Plugin
Use the Drupal plugin to make it easy to define and declare build steps. The installArgs
parameter defines any necessary arguments relating to the build. The Drupal plugin uses the makeFile and the drush command drush site-install
. Look at the Drush documentation for more about the site-install command. For more parameter options read more in the docs about different parameter options.
Note: drush site-install
will drop and rebuild all the tables in the database.