function example_profile_modules
7.x example.profile | example_profile_modules() |
6.x example.profile | example_profile_modules() |
Return an array of the modules to be enabled when this profile is installed.
Return value
An array of modules to enable.
File
- documentation-6.x/
developer/ example.profile, line 9
Code
function example_profile_modules() {
// This example profile enables the same optional modules as default.profile,
// plus the 'locale' module. But however, any available modules may be added
// to the list, including contributed modules, which will be then reqired by
// the installer. Configuration of these modules may be handled later by tasks.
return array('color', 'comment', 'help', 'menu', 'taxonomy', 'dblog', 'locale');
}