text: <?php
  
  namespace Kunstmaan\NodeBundle\Form;
  
  use Symfony\Component\Form\AbstractType;
  use Symfony\Component\Form\Extension\Core\Type\HiddenType;
  use Symfony\Component\Form\FormBuilderInterface;
  use Symfony\Component\OptionsResolver\OptionsResolver;
  
  /**
   * NodeTranslationAdminType
   */
  class NodeTranslationAdminType extends AbstractType
  {
      /**
       * @param FormBuilderInterface $builder
       * @param array                $options
       */
      public function buildForm(FormBuilderInterface $builder, array $options)
      {
          $builder->add('id', HiddenType::class);
      }
  
      /**
       * @return string
       */
      public function getBlockPrefix()
      {
          return 'nodetranslation';
      }
  
      public function configureOptions(OptionsResolver $resolver)
      {
          $resolver->setDefaults(array(
              'data_class' => 'Kunstmaan\NodeBundle\Entity\NodeTranslation',
          ));
      }
  }
  