summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/Render
diff options
context:
space:
mode:
authorxjm2017-02-24 15:24:08 (GMT)
committerxjm2017-02-24 15:24:08 (GMT)
commit55dc41fe1001654bc813a3572dae985249b24eb1 (patch)
treebffe517244e566b588680b0cffabab1ec2e3be7a /core/lib/Drupal/Core/Render
parent5916a08e87040a704f7f87a77fc35032b823fa53 (diff)
Issue #2853684 by tameeshb, wturrell, chiranjeeb2410, krknth, Wim Leers, eojthebrave, leolando.tan, xjm: Update grammar of inline comments in \Drupal\Core\Render\Renderer::doRender
Diffstat (limited to 'core/lib/Drupal/Core/Render')
-rw-r--r--core/lib/Drupal/Core/Render/Renderer.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/lib/Drupal/Core/Render/Renderer.php b/core/lib/Drupal/Core/Render/Renderer.php
index 4bbffc3..503359e 100644
--- a/core/lib/Drupal/Core/Render/Renderer.php
+++ b/core/lib/Drupal/Core/Render/Renderer.php
@@ -320,9 +320,9 @@ class Renderer implements RendererInterface {
'#lazy_builder',
'#cache',
'#create_placeholder',
- // These keys are not actually supported, but they are added automatically
- // by the Renderer, so we don't crash on them; them being missing when
- // their #lazy_builder callback is invoked won't surprise the developer.
+ // The keys below are not actually supported, but these are added
+ // automatically by the Renderer. Adding them as though they are
+ // supported allows us to avoid throwing an exception 100% of the time.
'#weight',
'#printed'
];