0

Is it possible to not download the default themes- e.g. bartik, garland etc, in my make file when I download the drupal core?

1 Answer 1

1

No, I do not believe a makefile (assuming you mean Drush Make) can do this. Deleting the actual theme files is not the best approach, since each time core is updated they will be re-downloaded.

If you want to remove core themes from the Appearance admin section, you can hide them with hook_system_info_alter().

function example_system_info_alter(&$info, $file, $type) {
  if ($type == 'theme' && $info['name'] == 'Bartik') {
    $info['hidden'] = TRUE;
  }
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.