Skip to content

Commit

Permalink
Merge pull request #2536 from CityOfBoston/DIG-141
Browse files Browse the repository at this point in the history
DIG-141
  • Loading branch information
davidrkupton authored Jun 15, 2022
2 parents d1215dc + 4bbf6d6 commit 2821576
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
);
}

Expand Down

0 comments on commit 2821576

Please sign in to comment.