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 |
Do you have profile on drupal site? Do you write the comments on drupal site?
Explain the concept of node in drupal?
How do I create a page in drupal 8?
When was drupal invented?
What do you mean by patch in drupal?
What is st(), t(), get_t(), l() ?
What is drupal hosting?
What is Drupal invoice generation?
Concept of comment in drupal?
What is drupal child?
How to port a joomla template to drupal?
List the seo modules available in drupal?