Form/Type/CropInstanceType.php
public function buildView(FormView $view, FormInterface $form, array $options)
    {
        $data = $form->getData();

        if (empty($data)) {
            $form->setData(array(
                'left'       => 0,
                'top'        => 0,
                'width'      => $options['width'],
                'height'     => $options['height'],
                'min_width'  => $options['width'],
                'min_height' => $options['height']
            ));
        }
    }
public function buildView(FormView $view, FormInterface $form, array $options)
    {
        $data = $form->getData();

        if (empty($data)) {
            $form->setData(array(
                'left'       => 0,
                'top'        => 0,
                'width'      => $options['width'],
                'height'     => $options['height'],
                'min_width'  => $options['width'],
                'min_height' => $options['height']
            ));
        }
    }
{@inheritdoc}