Created
April 24, 2012 06:04
-
-
Save Tocacar/2476961 to your computer and use it in GitHub Desktop.
sf2 entity form field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$builder->add('category_id', 'entity', array('class' => 'MySampleBundle:Category', | |
'empty_value' => 'Choose a category' | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment