Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0055887

Browse filesBrowse files
committed
minor #16659 Added the renamed options of the collection type to the upgrade information (peterrehm)
This PR was merged into the 2.8 branch. Discussion ---------- Added the renamed options of the collection type to the upgrade information | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 7aac273 Added the renamed options of the collection type to the upgrade information
2 parents b48bbb8 + 7aac273 commit 0055887
Copy full SHA for 0055887

File tree

Expand file treeCollapse file tree

2 files changed

+14
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+14
-0
lines changed

‎UPGRADE-2.8.md

Copy file name to clipboardExpand all lines: UPGRADE-2.8.md
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,14 @@ Form
213213
}
214214
}
215215
```
216+
217+
* The option "options" of the CollectionType has been renamed to "entry_options".
218+
The usage of the option "options" is deprecated and will be removed in Symfony 3.0.
219+
220+
* The option "type" of the CollectionType has been renamed to "entry_type".
221+
The usage of the option "type" is deprecated and will be removed in Symfony 3.0.
222+
As a value for the option you should provide the fully-qualified class name (FQCN)
223+
now as well.
216224

217225
* Passing type instances to `Form::add()`, `FormBuilder::add()` and the
218226
`FormFactory::create*()` methods is deprecated and will not be supported

‎UPGRADE-3.0.md

Copy file name to clipboardExpand all lines: UPGRADE-3.0.md
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,12 @@ UPGRADE FROM 2.x to 3.0
264264
// ...
265265
}
266266
```
267+
268+
* The option "options" of the CollectionType has been renamed to "entry_options".
269+
270+
* The option "type" of the CollectionType has been renamed to "entry_type".
271+
As a value for the option you must provide the fully-qualified class name (FQCN)
272+
now as well.
267273

268274
* The `FormIntegrationTestCase` and `FormPerformanceTestCase` classes were moved form the `Symfony\Component\Form\Tests` namespace to the `Symfony\Component\Form\Test` namespace.
269275

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.