mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
Debug : getLabel -> getName
This commit is contained in:
parent
65c814ee27
commit
c77bfe989c
@ -38,8 +38,7 @@ class CustomFieldTitle implements CustomFieldInterface
|
||||
public function buildForm(FormBuilderInterface $builder, CustomField $customField)
|
||||
{
|
||||
$builder->add($customField->getSlug(), 'custom_field_title', array(
|
||||
'label' => $customField->getLabel(
|
||||
$this->requestStack->getCurrentRequest()->getLocale())
|
||||
'label' => $customField->getName()[$this->requestStack->getCurrentRequest()->getLocale()]
|
||||
));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user