Search for viewsTokenReplace

  1. Search 7.x for viewsTokenReplace
  2. Search 9.5.x for viewsTokenReplace
  3. Search 10.3.x for viewsTokenReplace
  4. Search 11.x for viewsTokenReplace
  5. Other projects
Title Object type File name Summary
NodeFieldTokensTest::testViewsTokenReplacement function core/modules/node/tests/src/Functional/Views/NodeFieldTokensTest.php Tests token replacement for Views tokens supplied by the Node module.
PluginBase::viewsTokenReplace function core/modules/views/src/Plugin/views/PluginBase.php Replaces Views' tokens in a given string. The resulting string will be
sanitized with Xss::filterAdmin.
PluginBaseTest::testViewsTokenReplace function core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php Test that the token replacement in views works correctly.
PluginBaseTest::testViewsTokenReplaceWithDots function core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php Test that the token replacement in views works correctly with dots.
PluginBaseTest::testViewsTokenReplaceWithTwigTokens function core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php Tests viewsTokenReplace without any twig tokens.
TestPluginBase::viewsTokenReplace function core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php Replaces Views' tokens in a given string. The resulting string will be
sanitized with Xss::filterAdmin.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.