Skip to content
Snippets Groups Projects
Commit b9ccd7bc authored by Mikhail Khasaya's avatar Mikhail Khasaya
Browse files

Fix DI

parent ced3984a
No related branches found
No related tags found
No related merge requests found
Pipeline #445565 passed
......@@ -3,6 +3,7 @@
namespace Drupal\forum_access\ForumAccess;
use Drupal\Core\Access\AccessResult;
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Session\AccountInterface;
......@@ -12,7 +13,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Access checks for forum.
*/
class Access {
class Access implements ContainerInjectionInterface {
/**
* {@inheritdoc}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment