Sfoglia il codice sorgente

add admin.yml call

Nicolas Ricci 11 anni fa
parent
commit
a0c672c588
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  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