Skip to content

Commit dce1c52

Browse files
committed
minor #10348 Update templating.rst - remove view[slots] variable (u-mulder)
This PR was merged into the 2.8 branch. Discussion ---------- Update templating.rst - remove view[slots] variable Remove information about unused `$view['slots']` variable. It is removed since 2.8 version documentation. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- c2b7406 Update templating.rst
2 parents a7e7e74 + c2b7406 commit dce1c52

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

templating.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,8 @@ ease the work of the template designer. In PHP, the templating system provides
412412
an extensible *helper* system that provides useful features in a template
413413
context.
414414

415-
You've already seen a few built-in Twig tags (``{% block %}`` & ``{% extends %}``)
416-
as well as an example of a PHP helper (``$view['slots']``). Here you will learn a
417-
few more.
415+
You've already seen a few built-in Twig tags like (``{% block %}`` & ``{% extends %}``).
416+
Here you will learn a few more.
418417

419418
.. index::
420419
single: Templating; Including other templates

0 commit comments

Comments
 (0)