This article is being written based on the Spark distribution.
Installation profiles are like modules
Installation profiles in Drupal 8 have all the functionality of modules, including access to hooks and plugins and, critically, the ability to provide configuration for your site in the form of .yml files.
Your installation profile will reside in its own profilename directory in the /profiles directory of a Drupal 8 site.
All installation profiles must have these two files:
They can also have:
- profilename.install file
- config folder
- translations folder.
When packaged, your installation profile will also have modules, src, and themes directories as needed.
The profilename.info.yml file should look similar to this: