Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to use preprocess function?



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

Post New Answer

More Drupal Interview Questions

Explain module in drupal ?

1 Answers  


How to create drush command for your custom module?

1 Answers  


What is a block module?

1 Answers  


What is module and list out some of the modules used in drupal?

1 Answers  


What modules do you always recommend and why?

1 Answers  


How do I view views in drupal 8?

1 Answers  


How do I move a drupal site from one host/server to another?

1 Answers  


Any modules contributed to drupal community?

1 Answers  


Why are so many drupal versions available - 4.x, 5.x .7.x.? Which one should I use?

1 Answers  


Compare joomla and drupal terminology?

1 Answers  


What is the use of taxonomy and vocabulary in drupal?

1 Answers  


How will you create custom module and what are the files required for to create module?

1 Answers  


Categories