Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Form] fix 'data_class' option in EntityType #6267

Merged
merged 1 commit into from
Mar 5, 2016

Conversation

HeahDude
Copy link
Contributor

data_class option in kind of overridden as it is not used in EntityType in favor of required class option.

@@ -21,6 +20,7 @@ objects from the database.
+-------------+------------------------------------------------------------------+
| Overridden | - `choice_list`_ |
| options | - `choices`_ |
| | - `data_class`_ |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to remove two spaces before the last pipe character.

@xabbuh
Copy link
Member

xabbuh commented Feb 14, 2016

The first data_class description needs to be removed now from the content at the old position (it's now present further down).

@HeahDude
Copy link
Contributor Author

@xabbuh thank you, fixed !

em
~~

**type**: ``string`` **default**: the default entity manager
**type**: ``string`` **default**: the default entity manager class
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, this option can be a string. But then it is the manager name not the class name. Additionally, you can also pass . ObjectManager instances here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xabbuh, thanks, now understood and fixed !

@xabbuh
Copy link
Member

xabbuh commented Feb 24, 2016

👍

@wouterj
Copy link
Member

wouterj commented Mar 5, 2016

Thank you Jules.

@wouterj wouterj merged commit 2ac70f7 into symfony:2.3 Mar 5, 2016
wouterj added a commit that referenced this pull request Mar 5, 2016
This PR was merged into the 2.3 branch.

Discussion
----------

[Form] fix 'data_class' option in EntityType

`data_class` option in kind of overridden as it is not used in `EntityType` in favor of required `class` option.

Commits
-------

2ac70f7 fix 'data_class' option in EntityType
@HeahDude HeahDude deleted the reorder-entity_type-options branch March 24, 2016 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants