diff --git a/templating/global_variables.rst b/templating/global_variables.rst index cfaa69f4780..3509df5005c 100644 --- a/templating/global_variables.rst +++ b/templating/global_variables.rst @@ -124,12 +124,4 @@ This should feel familiar, as it's the same syntax you use in service configurat 'globals' => array( 'user_management' => '@app.user_management', ), - )); - -Using a Twig Extension ----------------------- - -If the global variable you want to set is more complicated - say an object - -then you won't be able to use the above method. Instead, you'll need to create -a :ref:`Twig Extension ` and return the -global variable as one of the entries in the ``getGlobals`` method. + )); \ No newline at end of file