<?php

namespace AutoAdmin\Bundle\BrickBuilder\Form;

use AutoAdmin\Bundle\Admin\Form\Type\AdminFormType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\OptionsResolver\OptionsResolver;

class AdminBrickForm extends AbstractType
{
    public function getParent(): string
    {
        return AdminFormType::class;
    }

    public function configureOptions(OptionsResolver $resolver): void
    {
        parent::configureOptions($resolver);

        $resolver->setDefaults([
            'required' => true,
        ]);
    }
}
