You are here

function varbase_development_enable in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 7.3

Implements hook_enable().

File

modules/features/varbase_development/varbase_development.install, line 29

Code

function varbase_development_enable() {

  // Enable modules that we want.
  // @todo need to check avilable module first and enable them all in one bulk through a batch operation.
  foreach (_varbase_development_enable_requirements() as $module_name) {
    module_enable(array(
      $module_name,
    ));
  }

  // Views UI need a clear cache all to work with already views in code.
  cache_clear_all();
}