How to use preprocess function?
Answer / Mukesh Kumar Tewari
Preprocess functions are implemented in template files and are called before the theme's templates are rendered. They allow you to alter variables before they are passed to the template file, making it possible to customize your theme. Example: hook_preprocess_HOOK(&$variables) in custom module.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the regions in drupal?
How does drupal compare to ruby on rails?
What the input filter settings that are imposed on a node in drupal?
How to install themes in your drupal website?
What is the latest version of drupal?
Explain about services module?
What is an example of a cms?
What are the files required for creating custom module ?
How will create theme for particular views?
Explain about drupal version release dates?
Is it possible to pass the dynamic values to views?
List the required files for modules in drupal?