fix deprecations: use fqcn fr translatable_string

This commit is contained in:
nobohan
2018-04-05 13:59:14 +02:00
parent 762bb777c3
commit d501fa31ae
3 changed files with 15 additions and 11 deletions

View File

@@ -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') {