Use the farm menu for primary links.
This commit is contained in:
parent
e9a9f7bcd2
commit
245890f348
10
farm.install
10
farm.install
|
@ -20,6 +20,9 @@ function farm_install() {
|
||||||
// Set the front page to the farm dashboard (provided by the farm_admin).
|
// Set the front page to the farm dashboard (provided by the farm_admin).
|
||||||
variable_set('site_frontpage', 'farm');
|
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).
|
// Allow login via email (via logintoboggan).
|
||||||
variable_set('logintoboggan_login_with_email', TRUE);
|
variable_set('logintoboggan_login_with_email', TRUE);
|
||||||
|
|
||||||
|
@ -98,6 +101,13 @@ function farm_update_7002(&$sandbox) {
|
||||||
_farm_enable_modules($modules);
|
_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.
|
* Helper function: enable modules.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue