Explorar o código

add admin.yml call

Nicolas Ricci %!s(int64=11) %!d(string=hai) anos
pai
achega
a0c672c588
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      Resources/doc/cookbook/recipe_sortable_listing.rst

+ 7 - 0
Resources/doc/cookbook/recipe_sortable_listing.rst

@@ -237,6 +237,13 @@ Last tricky part, in order to get the last position available in our twig templa
             ));
     }
 
+And in  the admin.yml add the following call
+
+.. configuration-block::
+
+    .. code-block:: yaml
+    
+	- [ setContainer, [ @service_container ] ]
 
 Finally the twig files to display our up and down arrows in the listing