From a1529f22d7422744d29c3e25ce1b739a65bc98da Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 19 Mar 2020 23:21:02 +0000 Subject: [PATCH] Add an alias for the entity type manager Remove deprecation warnings Fixes #12 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f123b30..11efd72 100644 --- a/README.md +++ b/README.md @@ -651,6 +651,9 @@ The quickest way to do that is to enable autowiring for the ArticleRepository wi ```diff - Drupal\my_module\Repository\ArticleRepository: ~ ++ Drupal\Core\Entity\EntityTypeManagerInterface: ++ alias: entity_type.manager ++ + Drupal\my_module\Repository\ArticleRepository: + autowire: true ```