protected static property WebformTokenManager::$suffixes in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformTokenManager.php \Drupal\webform\WebformTokenManager::suffixes
An array of support token suffixes.
Type: array
See also
File
- src/
WebformTokenManager.php, line 67
Class
- WebformTokenManager
- Defines a class to manage token replacement.
Namespace
Drupal\webformCode
protected static $suffixes = [
// Removes the token when not replaced.
'clear',
// Decodes HTML entities.
'htmldecode',
// Removes all HTML tags from the token's value.
'striptags',
// URL encodes the token's value.
// @see https://www.php.net/manual/en/function.urlencode.php
'urlencode',
// Raw URL encodes the token's value.
// @see https://www.php.net/manual/en/function.rawurlencode.php
'rawurlencode',
// XML encodes the token's value.
'xmlencode',
];