public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('name', 'text', ['required' => true, 'constraints' => [new Constraints\Length(['max' => 65])]])->add('slug', 'text', ['required' => false, 'constraints' => [new Constraints\Length(['max' => 65])]])->add('description', 'textarea', ['required' => false])->add('imagesSort', 'text', ['required' => false])->add('images', 'entity', ['class' => $this->imageNamespace, 'required' => false, 'property' => 'id', 'multiple' => true, 'expanded' => true])->add('metaTitle', 'text', ['required' => false])->add('metaDescription', 'text', ['required' => false, 'constraints' => [new Constraints\Length(['max' => 159])]])->add('metaKeywords', 'text', ['required' => false])->add('enabled', 'checkbox', ['required' => false]);
$builder->addEventSubscriber($this->getEntityTranslatorFormEventListener());
}