Issue #2688813 by sidharthap: Documentation for FieldPluginBase::addSelfTokens is missing "__"

8.2.x
Nathaniel Catchpole 2016-03-18 16:15:49 +09:00
parent 01adbc00cf
commit 02ba883a11
1 changed files with 1 additions and 2 deletions

View File

@ -1680,8 +1680,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
* fields as a list. For example, the field that displays all terms * fields as a list. For example, the field that displays all terms
* on a node might have tokens for the tid and the term. * on a node might have tokens for the tid and the term.
* *
* By convention, tokens should follow the format of {{ token * By convention, tokens should follow the format of {{ token__subtoken }}
* subtoken }}
* where token is the field ID and subtoken is the field. If the * 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 * field ID is terms, then the tokens might be {{ terms__tid }} and
* {{ terms__name }}. * {{ terms__name }}.