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...


What is the difference between hook_theme and hook_theme_registry?



What is the difference between hook_theme and hook_theme_registry?..

Answer / Shubham Kaushik

hook_theme() and hook_theme_registry_alter() are hooks provided by Drupal to manage themes. hook_theme() defines custom theme functions that can be used to alter the output of existing HTML templates in your theme. The returned array from hook_theme() is cached as a part of the theme registry. hook_theme_registry_alter() allows developers to modify the theme registry programmatically, for example, to add, remove, or alter theme functions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Drupal Interview Questions

Which module used to validate drupal code?

1 Answers  


what is drupal_http_request?

1 Answers  


How to create a responsive theme in drupal?

1 Answers  


What is module in drupal?

1 Answers  


Whether drupal is written in procedural-style or object oriented?

1 Answers  


What is Drupal main menu?

1 Answers  


Explain the seo modules available in drupal?

1 Answers  


What are cms platforms?

1 Answers  


Explain user, permission, role in drupal?

1 Answers  


Which design pattern used in drupal?

1 Answers  


What is the use of the field set the width of each sidebar in the layout and general settings?

1 Answers  


What are the steps for launching a drupal site?

1 Answers  


Categories