In which table does Drupal 8 store the theme name?
I'm trying to programmatically install an uninstalled theme. Obviously, there's some written logic behind the Install and set as default button. What exactly does that button do?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
The theme names are not stored in the db; other wise, we would have to uninstall the uninstalled themes... How would Drupal know the name of an uninstalled theme? It reads the names from the themename.info.yml file.
If you think about it, its just like uninstalled module names, the module name is not stored in the db, Drupal reads/gets the name from the module.info.yml file.