{"action":"created","issue":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/326","labels_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/326/comments","events_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/326/events","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/pull/326","id":78706135,"number":326,"title":"Added support for setting form type options on parent form (edit, new, form levels)","user":{"login":"ogizanagi","id":2211145,"avatar_url":"https://avatars.githubusercontent.com/u/2211145?v=3","gravatar_id":"","url":"https://api.github.com/users/ogizanagi","html_url":"https://github.com/ogizanagi","followers_url":"https://api.github.com/users/ogizanagi/followers","following_url":"https://api.github.com/users/ogizanagi/following{/other_user}","gists_url":"https://api.github.com/users/ogizanagi/gists{/gist_id}","starred_url":"https://api.github.com/users/ogizanagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogizanagi/subscriptions","organizations_url":"https://api.github.com/users/ogizanagi/orgs","repos_url":"https://api.github.com/users/ogizanagi/repos","events_url":"https://api.github.com/users/ogizanagi/events{/privacy}","received_events_url":"https://api.github.com/users/ogizanagi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-20T21:31:05Z","updated_at":"2015-06-12T20:03:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/pulls/326","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/pull/326","diff_url":"https://github.com/javiereguiluz/EasyAdminBundle/pull/326.diff","patch_url":"https://github.com/javiereguiluz/EasyAdminBundle/pull/326.patch"},"body":"Follows #323.\r\n\r\nThis PR will allow to set options in order to configure the parent form. For instance : \r\n\r\n```php\r\nentities:\r\n    TestEntity:\r\n        class: AppBundle\\Entity\\TestEntity\r\n        form:\r\n            form_options: { validation_groups: ['Default', 'my_validation_group'] }\r\n```\r\nwill create the form using the following options:\r\n```php\r\narray(\r\n    'validation_groups' => array('Default', 'my_validation_group'),\r\n    'data_class' => 'AppBundle\\Entity\\TestEntity',\r\n    'attr' => array('class' => '...', 'id' => '...'),\r\n)))\r\n```\r\n\r\nDo you think `form_options` is more appropriated here, or `type_options` should be used to be consistent ?"},"comment":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/comments/111600374","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/pull/326#issuecomment-111600374","issue_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/326","id":111600374,"user":{"login":"javiereguiluz","id":73419,"avatar_url":"https://avatars.githubusercontent.com/u/73419?v=3","gravatar_id":"","url":"https://api.github.com/users/javiereguiluz","html_url":"https://github.com/javiereguiluz","followers_url":"https://api.github.com/users/javiereguiluz/followers","following_url":"https://api.github.com/users/javiereguiluz/following{/other_user}","gists_url":"https://api.github.com/users/javiereguiluz/gists{/gist_id}","starred_url":"https://api.github.com/users/javiereguiluz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiereguiluz/subscriptions","organizations_url":"https://api.github.com/users/javiereguiluz/orgs","repos_url":"https://api.github.com/users/javiereguiluz/repos","events_url":"https://api.github.com/users/javiereguiluz/events{/privacy}","received_events_url":"https://api.github.com/users/javiereguiluz/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T20:03:50Z","updated_at":"2015-06-12T20:03:50Z","body":"@Pierstoval the only blocking issue is that I'm still thinking about this and the other realted PR to see what's the best way to implement this. But I'll make some decission soon."}}