Command/ImportPeopleFromCSVCommand.php
protected function processTextType(
            $value, 
            \Symfony\Component\Form\FormInterface $form, 
            \Chill\CustomFieldsBundle\Entity\CustomField $cf
            )
    {
        $form->submit(array($cf->getSlug() => $value));
        
        $value = $form->getData()[$cf->getSlug()];
        
        $this->logger->debug(sprintf("Found value : %s for custom field with question "
                . "'%s'", $value, $this->helper->localize($cf->getName())));
        
        return $value;
    }
protected function processTextType(
            $value, 
            \Symfony\Component\Form\FormInterface $form, 
            \Chill\CustomFieldsBundle\Entity\CustomField $cf
            )
    {
        $form->submit(array($cf->getSlug() => $value));
        
        $value = $form->getData()[$cf->getSlug()];
        
        $this->logger->debug(sprintf("Found value : %s for custom field with question "
                . "'%s'", $value, $this->helper->localize($cf->getName())));
        
        return $value;
    }
protected function processTextType ( $ value , \ Symfony \ Component \ Form \ FormInterface $ form , \ Chill \ CustomFieldsBundle \ Entity \ CustomField $ cf ) { $ form -> submit ( array ( $ cf -> getSlug ( ) => $ value ) ) ; $ value = $ form -> getData ( ) [ $ cf -> getSlug ( ) ] ; $ this -> logger -> debug ( sprintf ( "Found value : %s for custom field with question " . "'%s'" , $ value , $ this -> helper -> localize ( $ cf -> getName ( ) ) ) ) ; return $ value ; }
Process a text type on a custom field

@param type $value
@param \Chill\PersonBundle\Command\Symfony\Component\Form\FormInterface $form
Process a text type on a custom field