Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitda88167

Browse files
committed
minor#10500 Deprecating support for legacy templates directory (yceruto)
This PR was merged into the master branch.Discussion----------Deprecating support for legacy templates directoryUpdate according tosymfony/symfony#28891Commits-------a90ae14 Deprecating support for legacy templates directory
2 parents73d241a +a90ae14 commitda88167

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎reference/configuration/twig.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,10 @@ The default directory where Symfony will look for Twig templates.
256256
paths
257257
~~~~~
258258

259+
..versionadded::4.2
260+
The templates directory ``src/Resources/views/`` was deprecated in Symfony 4.2,
261+
use the directory defined in the ``default_path`` option (``templates/`` by default).
262+
259263
**type**: ``array`` **default**: ``null``
260264

261265
This option defines the directories where Symfony will look for Twig templates

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp