title: FOSUserBundle - Overriding forms: could not load type "user_registration"
body: <p>I created my own form type at <code>Me\MyBundle\Form\Type\UserFormRegistrationType</code>:</p>
  
  <pre><code>namespace Me\MyBundle\Form\Type;
  
  use FOS\UserBundle\Form\Type\RegistrationFormType as BaseType;
  use Symfony\Component\Form\FormBuilderInterface;
  use Symfony\Component\OptionsResolver\OptionsResolverInterface;
  
  class UserFormRegistrationType extends BaseType
  {
      public function buildForm(FormBuilderInterface $builder, array $options)
      {
          parent::buildForm($builder, $options);
  
          // all my unique fields
      }
  
      public function getName()
      {
          return 'user_registration';
      }
  
      public function setDefaultOptions(OptionsResolverInterface $resolver)
      {
          $resolver-&gt;setDefaults(array('data_class' =&gt; 'Me\MyBundle\Entity\User'));
      }
  }
  </code></pre>
  
  <p>I have the following in my services.yml:</p>
  
  <pre><code>services:
      me_my.registration.form.type:
          class: Me\MyBundle\Form\Type\UserFormRegistrationType
          arguments: [%fos_user.model.user.class%]
          tags:
              - { name: form.type, alias: user_registration }
  </code></pre>
  
  <p>And the following added to my config.yml:</p>
  
  <pre><code># other config stuff
  
  fos_user:
      # database stuff, general config
  
      registration:
          form:
              type: user_registration
  </code></pre>
  
  <p>Yet, when I try to access my registration form/page, I get:</p>
  
  <blockquote>
    <p>Could not load type "user_registration"</p>
  </blockquote>
  
  <p>Any hint to what I'm obviously missing?  It's not a firewall issue.  I had one, but tweaking my security.yml fixed it.  This is a pure not found error.  Very annoying, as I believe I followed the docs to the letter.</p>