| hook_boot() | hook_init() |
|---|---|
| hook_boot() will executes even on cached pages | hook_init() will not executes on cached pages |
| hook_boot() is called before modules or most include files are loaded into memory (1.e., This hook will called while Drupal is still in bootstrap mode). | hook_init(),is called After all modules are loaded into memory. |
| It happens while Drupal is still in bootstrap mode. | It happens after bootstrap mode. |
Monday, January 21, 2019
Difference between hook_boot and hook_init Drupal
Subscribe to:
Post Comments (Atom)
Difference between hook_boot and hook_init Drupal
hook_boot() hook_init() hook_boot() will executes even on cached pages hook_init() will not executes on cached pages hook_boot() is ...
-
I'm currently developing a new Drupal 7 application (technically built as a new Drupal module), and as I'm building the applicatio...
-
Hello Developers, Laravel 5 Implemented routes as sepeately, previously we have in app/Http/routes.php in Laravel 4. In Laravel 5 maint...
No comments:
Post a Comment