Function Hook_contentious_overrides_configured->compile_template
Definitions
sources/hooks/systems/contentious_overrides/configured.php
- Add to a template being compiled.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$data | string | required parameter | N/A | N/A | Template data |
$template_name | ID_TEXT | required parameter | N/A | N/A | The name of the template (blank: not from a file) |
$theme | ID_TEXT | required parameter | N/A | N/A | The name of the theme |
$lang | ID_TEXT | required parameter | N/A | N/A | The language it is for |
$suffix | ?string | required parameter | N/A | N/A | File type suffix of template file (e.g. .tpl) (null: not from a file) |
$directory | ?string | required parameter | N/A | N/A | Subdirectory type to look in. Surrounded by '/', unlike with $directory parameters to most other functions (performance reasons) (null: not from a file) |