diff --git a/form/form_dependencies.rst b/form/form_dependencies.rst index 2fd32dfab88..5e727039797 100644 --- a/form/form_dependencies.rst +++ b/form/form_dependencies.rst @@ -1,7 +1,7 @@ How to Access Services or Config from Inside a Form =================================================== -Sometimes, you may need to access a :doc:`services ` or other +Sometimes, you may need to access a :doc:`service ` or other configuration from inside of your form class. To do this, you have 2 options: 1) Pass Options to your Form @@ -45,7 +45,7 @@ create your form:: } Finally, the ``entity_manager`` option is accessible in the ``$options`` argument -if your ``buildForm`` method:: +of your ``buildForm`` method:: // src/AppBundle/Form/TaskType.php // ...