function purl_update_6002 in Persistent URL 6
Same name and namespace in other branches
- 7 purl.install \purl_update_6002()
Install CTools.
File
- ./
purl.install, line 100
Code
function purl_update_6002() {
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.',
),
);
}