mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
fix deprecations: getName -> getBlockPrefix in forms
This commit is contained in:
parent
3439319e59
commit
0a08c362bb
@ -102,7 +102,7 @@ class CustomFieldsGroupType extends AbstractType
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
public function getBlockPrefix()
|
||||
{
|
||||
return 'custom_fields_group';
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ class ChoiceWithOtherType extends AbstractType
|
||||
;
|
||||
}
|
||||
|
||||
public function getName()
|
||||
public function getBlockPrefix()
|
||||
{
|
||||
return 'choice_with_other';
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ class ChoicesListType extends AbstractType
|
||||
*
|
||||
* @see \Symfony\Component\Form\FormTypeInterface::getName()
|
||||
*/
|
||||
public function getName()
|
||||
public function getBlockPrefix()
|
||||
{
|
||||
return 'cf_choices_list';
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ use Symfony\Component\Form\Extension\Core\Type\CollectionType;
|
||||
*/
|
||||
class ChoicesType extends AbstractType
|
||||
{
|
||||
public function getName()
|
||||
public function getBlockPrefix()
|
||||
{
|
||||
return 'cf_choices';
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ class CustomFieldType extends AbstractType
|
||||
;
|
||||
}
|
||||
|
||||
public function getName()
|
||||
public function getBlockPrefix()
|
||||
{
|
||||
return 'custom_field';
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ class LinkedCustomFieldsType extends AbstractType
|
||||
}
|
||||
}
|
||||
|
||||
public function getName()
|
||||
public function getBlockPrefix()
|
||||
{
|
||||
return 'custom_fields_group_linked_custom_fields';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user