mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 13:54:59 +00:00
fix deprecations: use fqcn fr translatable_string
This commit is contained in:
@@ -15,6 +15,7 @@ use Symfony\Component\Form\FormEvents;
|
||||
use Doctrine\Common\Persistence\ObjectManager;
|
||||
use Chill\CustomFieldsBundle\Service\CustomFieldProvider;
|
||||
use Chill\CustomFieldsBundle\Form\DataTransformer\CustomFieldsGroupToIdTransformer;
|
||||
use Chill\MainBundle\Form\Type\TranslatableStringFormType;
|
||||
|
||||
|
||||
class CustomFieldType extends AbstractType
|
||||
@@ -53,7 +54,7 @@ class CustomFieldType extends AbstractType
|
||||
}
|
||||
|
||||
$builder
|
||||
->add('name', 'translatable_string')
|
||||
->add('name', TranslatableStringFormType::class)
|
||||
->add('active', CheckboxType::class, array('required' => false));
|
||||
|
||||
if ($options['group_widget'] === 'entity') {
|
||||
|
Reference in New Issue
Block a user