symfony2admingenerator/AdmingeneratorGeneratorBundle — pull request #339 by kufi (2013-02-04 10:52:33+00:00)
Title: Support to call php code on any form option

Adds support to call custom php code on any form option.
The code which should be executed has to be wrapped with __php(<>).

Example usage:
...
addFormOptions:
languages: __php($this->getLanguages())
type: __php(new \Foo\Bar\BazType)
...