ActivityType replace Admin Conroller with Crud system

This commit is contained in:
Jean-Francois Monfort
2021-04-01 16:22:33 +02:00
parent 24a7d7b34b
commit 580dc71218
12 changed files with 88 additions and 361 deletions

View File

@@ -33,15 +33,7 @@ class ActivityTypeType extends AbstractType
public function configureOptions(OptionsResolver $resolver)
{
$resolver->setDefaults(array(
'data_class' => 'Chill\ActivityBundle\Entity\ActivityType'
'data_class' => \Chill\ActivityBundle\Entity\ActivityType::class
));
}
/**
* @return string
*/
public function getBlockPrefix()
{
return 'chill_activitybundle_activitytype';
}
}