Skip to content

Commit 8944b33

Browse files
committed
add event subscriber reference link
1 parent 9bca4d1 commit 8944b33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/form/dynamic_form_modification.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ Adding an Event Subscriber to a Form Class
167167
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
168168

169169
For better reusability or if there is some heavy logic in your event listener,
170-
you can also move the logic for creating the ``name`` field to an event
171-
subscriber::
170+
you can also move the logic for creating the ``name`` field to an
171+
:ref:`event subscriber <event_dispatcher-using-event-subscribers:ref:>`::
172172

173173
// src/Acme/DemoBundle/Form/Type/ProductType.php
174174
namespace Acme\DemoBundle\Form\Type;

0 commit comments

Comments
 (0)