public function TreeBuilderInterface::flattenTree in Token 8
Flatten a token tree.
Parameters
array $tree: The tree array as returned by TreeBuilderInterface::buildTree().
Return value
array The flattened version of the tree.
1 method overrides TreeBuilderInterface::flattenTree()
- TreeBuilder::flattenTree in src/
TreeBuilder.php - Flatten a token tree.
File
- src/
TreeBuilderInterface.php, line 41
Class
Namespace
Drupal\tokenCode
public function flattenTree(array $tree);