projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
21664d2c93a3c15cc8fcb9dd2d7adc04145f5be2
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d8
/
hook
/
themes_uninstalled.twig
1
/**
2
* Implements hook_themes_uninstalled().
3
*/
4
function {{ machine_name }}_themes_uninstalled(array $themes) {
5
// Remove some state entries depending on the theme.
6
foreach ($themes as $theme) {
7
\Drupal::state()->delete('example.' . $theme);
8
}
9
}