Function Hook_ajax_tree_choose_theme_files->build_screen_tree

Definitions

sources/hooks/systems/ajax_tree/choose_theme_files.php

  • Build screen tree from a meta-tree node.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$theme ID_TEXT No No required parameter N/A N/A The theme we are working with
$node array No No required parameter N/A N/A Node

Returns

  • XML
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Build screen tree from a meta-tree node.
 *
 * @param  ID_TEXT $theme The theme we are working with
 * @param  array $node Node
 * @return string XML
 */

protected function build_screen_tree(string $theme, array $node) : string