You are here

function navigation404_enable in 404 Navigation 7

Implements hook_enable().

If site_404 is not set, all menu-related items disappear on 404.

File

./navigation404.install, line 7

Code

function navigation404_enable() {
  if (variable_get('site_404', '') == '') {
    variable_set('site_404', NAVIGATION404_PAGE);
  }
}