You are here

function gutenberg_themes_uninstalled in Gutenberg 8.2

Implements hook_themes_uninstalled().

File

./gutenberg.module, line 919
Provides integration with the Gutenberg editor.

Code

function gutenberg_themes_uninstalled(array $themes) {
  \Drupal::service('plugin.manager.gutenberg.library')
    ->clearCachedDefinitions();
}