Skip to content

Commit 0055887

Browse 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

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

UPGRADE-2.8.md

Lines 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

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy