Jeet Lal

Content Management, Drupal

Drupal 8 Frequently Used Services, Functions, and Statements

In Drupal 8, some important services, functions and statements are frequently used in all projects. These are time-saving statements and perform a very crucial operation. Drupal 8 have multiple statements that are very useful in the project and it is also essential for the performance & Drupal 8 standard. Drupal 8 follow a PSR-4...

17-Jul-2017

Drupal, Technology

How to Use Hook_init in Drupal 8?

In Drupal 8, most of the Hooks such as hook_init, hook_boot are removed from the Drupal 8. These Hooks are replaced with Event Subscriber in Drupal 8. If you are performing few actions such as redirect, add CSS, add JS or any other modification on request, it can be done by registering Event Subscriber. As we know Drupal 8 introduces...

10-Jan-2017