From ee2e3cbfe540bcd9ba0fdd499ff837cb0db55ce0 Mon Sep 17 00:00:00 2001
From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org>
Date: Fri, 18 Mar 2016 16:15:49 +0900
Subject: [PATCH] Issue #2688813 by sidharthap: Documentation for
 FieldPluginBase::addSelfTokens is missing "__"

(cherry picked from commit 02ba883a110fabab98f67187b98678a7f3084393)
---
 core/modules/views/src/Plugin/views/field/FieldPluginBase.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
index 9208e10e8d3c..0716a6a28e8a 100644
--- a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
+++ b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
@@ -1681,8 +1681,7 @@ protected function getTokenValuesRecursive(array $array, array $parent_keys = ar
    * fields as a list. For example, the field that displays all terms
    * on a node might have tokens for the tid and the term.
    *
-   * By convention, tokens should follow the format of {{ token
-   * subtoken }}
+   * By convention, tokens should follow the format of {{ token__subtoken }}
    * where token is the field ID and subtoken is the field. If the
    * field ID is terms, then the tokens might be {{ terms__tid }} and
    * {{ terms__name }}.
-- 
GitLab