Skip to content

Instantly share code, notes, and snippets.

@jseverson
Created August 31, 2011 17:24
Show Gist options
  • Save jseverson/1184119 to your computer and use it in GitHub Desktop.
Save jseverson/1184119 to your computer and use it in GitHub Desktop.
public function buildForm(FormBuilder $builder, array $options)
{
parent::buildForm($builder, $options);
//now add custom fields to this one
$builder
->add('isEnabled')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment