What is the difference between hook_init, hook_boot, hook_exit?
Answer / Vipul Pratap Singh
hook_init() is a Drupal hook that runs at the beginning of each page request after all modules have been loaded but before the database connection is established. hook_boot() is a Drupal hook called during the bootstrap process when the system is being initialized, before the database connection is established.nhook_exit(), on the other hand, is not a Drupal core hook, but it's used to customize Drupal's exit behavior. It runs just before Drupal shuts down.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do I install drush globally?
Is drupal java based?
How to create the table using module?
What is the use of Rate field while setting up taxes?
How can I customize my 404 - page not found page?
How can we add regions in drupal theme?
List the system requirements for drupal installation?
What is the use of Length of trimmed description field in Feed aggregator?
what is Drupal weight?
What is the default drupal content item known as?
What are the regions in drupal?
Why to use Drupal?