If you wish the field to be ignored when reading or writing to the object, you can set the property_path
option to false
.
1 |
$builder->add('field_name', 'field_type', array('property_path' => false)) |
NB : Since 2.1, the mapped option has been added for this use-case.
No comments yet.