mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 06:14:23 +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)
|
public function buildForm(FormBuilderInterface $builder, CustomField $customField)
|
||||||
{
|
{
|
||||||
$builder->add($customField->getSlug(), 'custom_field_title', array(
|
$builder->add($customField->getSlug(), 'custom_field_title', array(
|
||||||
'label' => $customField->getLabel(
|
'label' => $customField->getName()[$this->requestStack->getCurrentRequest()->getLocale()]
|
||||||
$this->requestStack->getCurrentRequest()->getLocale())
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user