Commit 02ba883a authored by catch's avatar catch

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

parent 01adbc00
...@@ -1680,8 +1680,7 @@ protected function getTokenValuesRecursive(array $array, array $parent_keys = ar ...@@ -1680,8 +1680,7 @@ protected function getTokenValuesRecursive(array $array, array $parent_keys = ar
* 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 }}.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment