diff --git a/DependencyInjection/Compiler/EasyAdminFormTypePass.php b/DependencyInjection/Compiler/EasyAdminFormTypePass.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Compiler/EasyAdminFormTypePass.php
+++ b/DependencyInjection/Compiler/EasyAdminFormTypePass.php
@@ -34,5 +34,16 @@ class EasyAdminFormTypePass implements CompilerPassInterface
         $guesserChain = new Definition('Symfony\Component\Form\FormTypeGuesserChain', array($guessers));
 
         $formTypeDefinition->replaceArgument(2, $guesserChain);
+
+        if (!$this->isLegacySymfonyForm()) {
+            $formTypeDefinition->setTags(array('form.type' => array(
+                array('alias' => 'JavierEguiluz\\Bundle\\EasyAdminBundle\\Form\\Type\\EasyAdminFormType')
+            )));
+        }
+    }
+
+    private function isLegacySymfonyForm()
+    {
+        return false === method_exists('JavierEguiluz\Bundle\EasyAdminBundle\Form\Type\EasyAdminFormType', 'getBlockPrefix');
     }
 }
I don't know what I'm doing