minor #33131 [Form] Add bool type to ChoiceListFactoryInterface::createView $label argument (vudaltsov)
This PR was merged into the 3.4 branch.
Discussion
----------
[Form] Add bool type to ChoiceListFactoryInterface::createView $label argument
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
Replaces #33074
Ping @nicolas-grekas , @Tobion , @yceruto .
Commits
-------
8f5d1ca794
Add false type to ChoiceListFactoryInterface::createView $label argument
This commit is contained in:
commit
502be37d1f
@ -78,14 +78,11 @@ interface ChoiceListFactoryInterface
|
|||||||
* attributes that should be added to the respective choice.
|
* attributes that should be added to the respective choice.
|
||||||
*
|
*
|
||||||
* @param array|callable|null $preferredChoices The preferred choices
|
* @param array|callable|null $preferredChoices The preferred choices
|
||||||
* @param callable|null $label The callable generating the
|
* @param callable|false|null $label The callable generating the choice labels;
|
||||||
* choice labels
|
* pass false to discard the label
|
||||||
* @param callable|null $index The callable generating the
|
* @param callable|null $index The callable generating the view indices
|
||||||
* view indices
|
* @param callable|null $groupBy The callable generating the group names
|
||||||
* @param callable|null $groupBy The callable generating the
|
* @param array|callable|null $attr The callable generating the HTML attributes
|
||||||
* group names
|
|
||||||
* @param array|callable|null $attr The callable generating the
|
|
||||||
* HTML attributes
|
|
||||||
*
|
*
|
||||||
* @return ChoiceListView The choice list view
|
* @return ChoiceListView The choice list view
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user