Function Hook_ajax_tree_choose_theme_files->get_template_file_icons
Definitions
sources/hooks/systems/ajax_tree/choose_theme_files.php
- Find icon and labelling details for a node.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $file | ID_TEXT | No | No | required parameter | N/A | N/A | File |
Returns
- A triple: icon, label
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find icon and labelling details for a node.
*
* @param ID_TEXT $file File
* @return array A triple: icon, label
*/
protected function get_template_file_icons(string $file) : array
* Find icon and labelling details for a node.
*
* @param ID_TEXT $file File
* @return array A triple: icon, label
*/
protected function get_template_file_icons(string $file) : array

