You are here

function mediafront_modules_enabled in MediaFront 7.2

Implements hook_modules_enabled().

File

./mediafront.module, line 49

Code

function mediafront_modules_enabled($modules) {

  // If views enabled, set menu as needed to be rebuilt
  // The availability of certain menu items depends on views being enabled or not
  if (in_array('views', $modules)) {
    variable_set('menu_rebuild_needed', TRUE);
  }
}