You are here

function gutenberg_themes_installed in Gutenberg 8.2

Implements hook_themes_installed().

File

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

Code

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