mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 14:24:24 +00:00
Adding TODO message
This commit is contained in:
parent
11c27edd2b
commit
afc51d2f31
@ -13,7 +13,7 @@ use Symfony\Component\Form\FormEvent;
|
|||||||
class CustomFieldsGroupType extends AbstractType
|
class CustomFieldsGroupType extends AbstractType
|
||||||
{
|
{
|
||||||
|
|
||||||
private $customizableEntities;
|
private $customizableEntities; //TOOD : add comment about this variable
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@ -31,11 +31,12 @@ class CustomFieldsGroupType extends AbstractType
|
|||||||
* @param FormBuilderInterface $builder
|
* @param FormBuilderInterface $builder
|
||||||
* @param array $options
|
* @param array $options
|
||||||
*/
|
*/
|
||||||
|
//TODO : details about the function
|
||||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||||
{
|
{
|
||||||
//prepare translation
|
//prepare translation
|
||||||
$entities = array();
|
$entities = array();
|
||||||
$customizableEntities = array();
|
$customizableEntities = array(); //TODO : change name too close than $this->customizableEntities
|
||||||
|
|
||||||
foreach($this->customizableEntities as $key => $definition) {
|
foreach($this->customizableEntities as $key => $definition) {
|
||||||
$entities[$definition['class']] = $this->translator->trans($definition['name']);
|
$entities[$definition['class']] = $this->translator->trans($definition['name']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user