mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +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
|
||||
{
|
||||
|
||||
private $customizableEntities;
|
||||
private $customizableEntities; //TOOD : add comment about this variable
|
||||
|
||||
/**
|
||||
*
|
||||
@ -31,11 +31,12 @@ class CustomFieldsGroupType extends AbstractType
|
||||
* @param FormBuilderInterface $builder
|
||||
* @param array $options
|
||||
*/
|
||||
//TODO : details about the function
|
||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||
{
|
||||
//prepare translation
|
||||
$entities = array();
|
||||
$customizableEntities = array();
|
||||
$customizableEntities = array(); //TODO : change name too close than $this->customizableEntities
|
||||
|
||||
foreach($this->customizableEntities as $key => $definition) {
|
||||
$entities[$definition['class']] = $this->translator->trans($definition['name']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user