From 4bbf6d6e3648290bb9aa392e5e32e42b7ee2f36f Mon Sep 17 00:00:00 2001 From: David Upton Date: Wed, 15 Jun 2022 13:33:14 -0400 Subject: [PATCH] Fixes deprecated entity manager call. --- .../src/Plugin/QueueWorker/IconManifestProcessBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docroot/modules/custom/bos_core/src/Plugin/QueueWorker/IconManifestProcessBase.php b/docroot/modules/custom/bos_core/src/Plugin/QueueWorker/IconManifestProcessBase.php index 7102d73b0c..1039e8138f 100644 --- a/docroot/modules/custom/bos_core/src/Plugin/QueueWorker/IconManifestProcessBase.php +++ b/docroot/modules/custom/bos_core/src/Plugin/QueueWorker/IconManifestProcessBase.php @@ -43,8 +43,8 @@ public function __construct(EntityStorageInterface $file_storage, EntityStorageI */ public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) { return new static( - $container->get('entity.manager')->getStorage('file'), - $container->get('entity.manager')->getStorage('media') + $container->get('entity_type.manager')->getStorage('file'), + $container->get('entity_type.manager')->getStorage('media') ); }