public function WebformTokenManagerInterface::buildTreeLink in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformTokenManagerInterface.php \Drupal\webform\WebformTokenManagerInterface::buildTreeLink()
Build token tree link if token.module is installed.
Parameters
array $token_types: An array containing token types that should be shown in the tree.
Return value
array A render array containing a token tree link.
1 method overrides WebformTokenManagerInterface::buildTreeLink()
- WebformTokenManager::buildTreeLink in src/
WebformTokenManager.php - Build token tree link if token.module is installed.
File
- src/
WebformTokenManagerInterface.php, line 80
Class
- WebformTokenManagerInterface
- Defines an interface for token manager classes.
Namespace
Drupal\webformCode
public function buildTreeLink(array $token_types = [
'webform',
'webform_submission',
]);