commit 4e08c41f7851e885ca8db607fda66a1369685aae Author: Joel Pittet Date: Thu Sep 10 16:41:48 2015 -0700 nits picked diff --git a/core/modules/views/src/Plugin/views/PluginBase.php b/core/modules/views/src/Plugin/views/PluginBase.php index a9d73bc..4dff979 100644 --- a/core/modules/views/src/Plugin/views/PluginBase.php +++ b/core/modules/views/src/Plugin/views/PluginBase.php @@ -402,8 +402,9 @@ function ($children, $elements) { ], ); - // Currently you cannot attach assets to tokens, however renderPlain is - // unnecessarily limiting. Consider using executeInRenderContext instead. + // Currently you cannot attach assets to tokens with + // Renderer::renderPlain(). This may be unnecessarily limiting. Consider + // using Renderer::executeInRenderContext() instead. // @todo: https://www.drupal.org/node/2566621 return (string) $this->getRenderer()->renderPlain($build); } diff --git a/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php b/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php index 491de8a..28e02a4 100644 --- a/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php +++ b/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php @@ -211,7 +211,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { '#title_display' => 'invisible', '#size' => 20, '#default_value' => $this->options['exception']['title'], - '#description' => $this->t('Override the view and other argument titles. Use may use Twig syntax in this field as well as the "arguments" and "raw_arguments" arrays.'), + '#description' => $this->t('Override the view and other argument titles. You may use Twig syntax in this field as well as the "arguments" and "raw_arguments" arrays.'), '#states' => array( 'visible' => array( ':input[name="options[exception][title_enable]"]' => array('checked' => TRUE),