protected function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults(array(
            'csrf_parameter' => '_csrf_token',
            'csrf_protection' => true,
            'collection_type' => FormCollectionInterface::COLLECTION_TYPE_ALL,
            'locale' => 'en_EN',
            'fallback_locales' => array('en_EN'),
            'translator_paths' => array(),
            'config_paths' => array(),
            'validation_groups' => null
        ));

        $resolver->setAllowedValues('collection_type', array(FormCollectionInterface::COLLECTION_TYPE_ALL, FormCollectionInterface::COLLECTION_TYPE_ANY, FormCollectionInterface::COLLECTION_TYPE_MANY, FormCollectionInterface::COLLECTION_TYPE_ONE));
    }
protected function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults(array(
            'csrf_parameter' => '_csrf_token',
            'csrf_protection' => true,
            'collection_type' => FormCollectionInterface::COLLECTION_TYPE_ALL,
            'locale' => 'en_EN',
            'fallback_locales' => array('en_EN'),
            'translator_paths' => array(),
            'config_paths' => array(),
            'validation_groups' => null
        ));

        $resolver->setAllowedValues('collection_type', array(FormCollectionInterface::COLLECTION_TYPE_ALL, FormCollectionInterface::COLLECTION_TYPE_ANY, FormCollectionInterface::COLLECTION_TYPE_MANY, FormCollectionInterface::COLLECTION_TYPE_ONE));
    }
protected function configureOptions ( OptionsResolver $ resolver ) { $ resolver -> setDefaults ( array ( 'csrf_parameter' => '_csrf_token' , 'csrf_protection' => true , 'collection_type' => FormCollectionInterface :: COLLECTION_TYPE_ALL , 'locale' => 'en_EN' , 'fallback_locales' => array ( 'en_EN' ) , 'translator_paths' => array ( ) , 'config_paths' => array ( ) , 'validation_groups' => null ) ) ; $ resolver -> setAllowedValues ( 'collection_type' , array ( FormCollectionInterface :: COLLECTION_TYPE_ALL , FormCollectionInterface :: COLLECTION_TYPE_ANY , FormCollectionInterface :: COLLECTION_TYPE_MANY , FormCollectionInterface :: COLLECTION_TYPE_ONE ) ) ; }
prepare default configuration

@param       OptionsResolver      $resolver
prepare default configuration