Form/Type/CroppableType.php
public function buildView(FormView $view, FormInterface $form, array $options)
    {
        $view->vars['max_canvas_width']  = (int)$options['max_canvas_width'];
        $view->vars['max_canvas_height'] = (int)$options['max_canvas_height'];

        $view->vars['validate'] = $options['validate'];
        $view->vars['minimums'] = array(
            'width'  => $this->calcMin('width', $options),
            'height' => $this->calcMin('height', $options)
        );
    }
public function buildView(FormView $view, FormInterface $form, array $options)
    {
        $view->vars['max_canvas_width']  = (int)$options['max_canvas_width'];
        $view->vars['max_canvas_height'] = (int)$options['max_canvas_height'];

        $view->vars['validate'] = $options['validate'];
        $view->vars['minimums'] = array(
            'width'  => $this->calcMin('width', $options),
            'height' => $this->calcMin('height', $options)
        );
    }
{@inheritdoc}