Form/Type/CroppableType.php
public function buildForm(FormBuilderInterface $builder, array $options)
    {
        unset($options['max_canvas_width']);
        unset($options['max_canvas_height']);

        $builder
            ->add('image', 'uploadable', array(
                'label'            => $options['label'],
                'file_constraints' => $this->getConstraints($options)
            ))
            ->add('coordinates', 'crop_coordinates', $options)
        ;
    }
public function buildForm(FormBuilderInterface $builder, array $options)
    {
        unset($options['max_canvas_width']);
        unset($options['max_canvas_height']);

        $builder
            ->add('image', 'uploadable', array(
                'label'            => $options['label'],
                'file_constraints' => $this->getConstraints($options)
            ))
            ->add('coordinates', 'crop_coordinates', $options)
        ;
    }
{@inheritdoc}