Follow up to #2308187: Provide a twig extension for file_create_url, see comment #58 in that issue.
+++ b/core/modules/system/src/Tests/Theme/EngineTwigTest.php
@@ -83,4 +83,13 @@ public function testTwigLinkGenerator() {
+ * Tests the file url Twig functions.
Fix this comment line. Should be something like "Tests the file_url Twig function."
+++ b/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
@@ -49,4 +49,13 @@ public function linkGeneratorRender() {
+ * Renders for testing file_create_url functions in a Twig template.
Fix this comment line. Should be something like "Renders for testing file_url functions in a Twig template."
The important point with both of these is the Twig function is called "file_url".
Beta phase evaluation
| Issue category | Task because it is just a comment change. |
|---|---|
| Issue priority | Normal because just a comment change. |
| Unfrozen changes | Unfrozen because it only changes comments. |
| Disruption | No disruption. |
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | revised-document-file-url-2405823-2.patch | 1.16 KB | zealfire |
Comments
Comment #1
zealfire commentedComment #2
zealfire commentedMade the changes as required above.Please review.
Thanks.
Comment #3
dawehner+1
Comment #4
alexpottCommitted 85f4178 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.