Skip to content

Commit a20d5b6

Browse files
committed
minor #17063 [Form] Remove :end-before:, :start-after: as it's not used anymore (mdoutreluingne)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- [Form] Remove `:end-before:`, `:start-after:` as it's not used anymore Fixes #16466 (I deleted the branch of my old pr accidentally, so I recreate a new PR) 1. The `:end-before:`, `:start-after:` directives is not supported by the new ReST parser, so it is displayed in the page: 2. As you can see on this page, the 2 options are duplicated in several places in the documentation ([here](https://symfony.com/doc/4.4/reference/forms/types/date.html#choice-translation-domain) and [here](https://symfony.com/doc/4.4/reference/forms/types/choice.html#choice-translation-domain)) whereas it is not necessary. ![image](https://user-images.githubusercontent.com/53557695/180979316-95e78874-1cfc-45d2-a131-8d4198f766f5.png) **Reviews are welcome! :)** Commits ------- efc6c2e [Form] Remove `:end-before:`, `:start-after:` as it's not used anymore
2 parents 607ac97 + efc6c2e commit a20d5b6

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

reference/forms/types/options/choice_translation_domain.rst.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
``choice_translation_domain``
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4-
DEFAULT_VALUE
5-
64
This option determines if the choice values should be translated and in which
75
translation domain.
86

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.. include:: /reference/forms/types/options/choice_translation_domain.rst.inc
2-
:end-before: DEFAULT_VALUE
3-
41
**type**: ``string``, ``boolean`` or ``null`` **default**: ``false``
52

63
.. include:: /reference/forms/types/options/choice_translation_domain.rst.inc
7-
:start-after: DEFAULT_VALUE
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.. include:: /reference/forms/types/options/choice_translation_domain.rst.inc
2-
:end-before: DEFAULT_VALUE
3-
41
**type**: ``string``, ``boolean`` or ``null`` **default**: ``true``
52

63
.. include:: /reference/forms/types/options/choice_translation_domain.rst.inc
7-
:start-after: DEFAULT_VALUE

0 commit comments

Comments
 (0)