You are here

function strongarm_update_6200 in Strongarm 6.2

Update 6200: Install CTools

File

./strongarm.install, line 23

Code

function strongarm_update_6200() {
  drupal_install_modules(array(
    'ctools',
  ));
  $modules = module_list();
  if (!isset($modules['ctools'])) {
    return array(
      '#abort' => array(
        'success' => FALSE,
        'query' => 'Could not enable CTools.',
      ),
    );
  }
  return array(
    array(
      'success' => TRUE,
      'query' => 'Enabled CTools successfully.',
    ),
  );
}