Theme Preprocess Function
theme_preprocess_functionAdd a Drupal theme preprocess function by providing machine name, hook, and code to prepare variables or alter render arrays before template rendering.
Instructions
Add a preprocess function to theme.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| hook | Yes | ||
| path | No | ||
| machine_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||