diff --git a/core/modules/dblog/dblog.post_update.php b/core/modules/dblog/dblog.post_update.php index 931a2ed..ce09822 100644 --- a/core/modules/dblog/dblog.post_update.php +++ b/core/modules/dblog/dblog.post_update.php @@ -22,7 +22,8 @@ function dblog_post_update_convert_recent_messages_to_view() { $module_handler = \Drupal::moduleHandler(); $optional_install_path = $module_handler->getModule('dblog')->getPath() . '/' . InstallStorage::CONFIG_OPTIONAL_DIRECTORY; $storage = new FileStorage($optional_install_path); - $entity_type_manager + + \Drupal::entityTypeManager() ->getStorage('view') ->create($storage->read('views.view.watchdog')) ->save();