[symfony-users] Re: PHP in admin generator generator.yml

2010-06-21 Thread axe
yes... be careful when using php code at the end of a line... you must add "\n" to manually break a line in yaml file.. e.g.: ... max_per_page: ... On Jun 21, 2:10 pm, HAUSa wrote: > Is it possible to use PHP code in the .yml generator files of the > admin generator? -- If you want to

[symfony-users] Re: PHP in admin generator generator.yml

2010-06-21 Thread slau
sure. you can do that in all yml files just like that but be aware, that you need to add something behind this to make sure, that the line-breaks still exists. for example: Article: name: headline_ # something On Jun 21, 2:10 pm, HAUSa wrote: > Is it possible to use PHP code in the .ym