Use the farm menu for primary links.

This commit is contained in:
Michael Stenta 2015-08-08 09:31:54 -04:00
parent e9a9f7bcd2
commit 245890f348
1 changed files with 10 additions and 0 deletions

View File

@ -20,6 +20,9 @@ function farm_install() {
// Set the front page to the farm dashboard (provided by the farm_admin).
variable_set('site_frontpage', 'farm');
// Use the farm menu for primary links (provided by farm_admin).
variable_set('menu_main_links_source', 'farm');
// Allow login via email (via logintoboggan).
variable_set('logintoboggan_login_with_email', TRUE);
@ -98,6 +101,13 @@ function farm_update_7002(&$sandbox) {
_farm_enable_modules($modules);
}
/**
* Use the farm menu for primary links.
*/
function farm_update_7003(&$sandbox) {
variable_set('menu_main_links_source', 'farm');
}
/**
* Helper function: enable modules.
*/