Skip to content

Commit 92c4fec

Browse files
committed
minor #8650 Reworded the intro of reference/dic_tags.rst (javiereguiluz)
This PR was squashed before being merged into the 2.7 branch (closes #8650). Discussion ---------- Reworded the intro of reference/dic_tags.rst If you don't agree with the title change, I'll revert it. Thanks! Commits ------- 6e43fb7 Fixed a typo f1e5f2a Reworded the intro of reference/dic_tags.rst
2 parents 956d922 + 6e43fb7 commit 92c4fec

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

reference/dic_tags.rst

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1-
The Dependency Injection Tags
1+
Built-in Symfony Service Tags
22
=============================
33

4-
Dependency Injection Tags are little strings that can be applied to a service
5-
to "flag" it to be used in some special way. For example, if you have a
6-
service that you would like to register as a listener to one of Symfony's
7-
core events, you can flag it with the ``kernel.event_listener`` tag.
4+
:doc:`Service tags </service_container/tags>` are the mechanism used by the
5+
:doc:`DependencyInjection component </components/dependency_injection>` to flag
6+
services which require a special processing, such as console commands or Twig
7+
extensions.
88

9-
You can learn a little bit more about "tags" by reading the ":doc:`/service_container/tags`"
10-
article.
11-
12-
Below is information about all of the tags available inside Symfony. There
13-
may also be tags in other bundles you use that aren't listed here.
9+
These are the most common tags provided by Symfony components, but in your
10+
application there could be more tags available provided by third-party bundles:
1411

1512
======================================== ========================================================================
1613
Tag Name Usage

0 commit comments

Comments
 (0)