Newscoop\GimmeBundle\Form\Type\SnippetTemplateFieldType::setDefaultOptions PHP Method

setDefaultOptions() public method

public setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolverInterface
    public function setDefaultOptions(OptionsResolverInterface $resolver)
    {
        $resolver->setDefaults(array('csrf_protection' => false, 'data_class' => 'Newscoop\\Entity\\Snippet\\SnippetTemplate\\SnippetTemplateField'));
    }