Function Hook_snippet_template_editor_load->generate_dropdown_from
Definitions
sources/hooks/systems/snippets/template_editor_load.php
- Helper function to get Tempcode for insertion of Tempcode variables.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$array | array | required parameter | N/A | N/A | A list of pairs (symbol name,arity) |
$stub | string | required parameter | N/A | N/A | The "stub" that determines what language strings to lookup for the given symbols, and generally, the collective naming strategy |
$file_id | string | required parameter | N/A | N/A | The ID of the actual template editor we are working with |
Return
- The Tempcode
- Type: Tempcode
- Set: N/A
- Range: N/A