minor #3508 Add 'in XML' for additional clarity (ifdattic)

This PR was merged into the 2.3 branch.

Discussion
----------

Add 'in XML' for additional clarity

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3
| Fixed tickets |

Commits
-------

69d9277 Adjust line length
100a031 Add 'in XML' for additional clarity
Fixed typo
Adjusted doctrine service tip
Reverted removal of getSingleResult()

It's now smaller (25 to 3 lines) and uses getOneOrNullResult().
Changed order to QueryBuilder -> DQL

The QueryBuilder seems to be easier and more recommend to use. This meant
the QueryBuilder section now contains the primary information and the DQL
section is now reduced to somewhat a "side topic".
Fixed spelling
Readded small note about parameters
Rephrased linking paragraph for Lifecycle events
Rephrased Field Type section
Fixed typo + added remore section
fix form type.
Added a section about using named assets
feature #3496 Added a section about using named assets (vmattila)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #3496).

Discussion
----------

Added a section about using named assets

This PR will add a section about named assets to the asset management page.

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets |

Commits
-------

9c9743e Added a section about using named assets
bug #3509 Fix typo: side.bar.twig => sidebar.twig (ifdattic)

This PR was merged into the 2.3 branch.

Discussion
----------

Fix typo: side.bar.twig => sidebar.twig

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3
| Fixed tickets |

Commits
-------

3b142dd Fix typo: side.bar.twig => sidebar.twig
add empty line
minor #3510 add empty line (lazyants)

This PR was submitted for the 2.4 branch but it was merged into the 2.3 branch instead (closes #3510).

Discussion
----------

add empty line

Commits
-------

a98cf11 add empty line
Removed useless else in code example
Removed useless return
minor #3511 [Component-DI] Removed useless else statement in code example (saro0h)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #3511).

Discussion
----------

[Component-DI] Removed useless else statement in code example

Commits
-------

edca0c7 [Component-DI] Removed useless return
24c4370 [Component-DI] Removed useless else in code example
Fixed typo