In release 1.2.7 there is no way to set the default values in generator.yml file. The workaround:
Override the method getFilterDefaults() in your <modulename>/lib/<modulename>GeneratorConfiguration.class.php and add your default values. An example:
public function getFilterDefaults()
{
return array('is_deleted' => array('text' => "0"));
}
0 Kommentar zu “symfony: How to set default filter values in generator.yml”