What Are Hooks?

Описание к видео What Are Hooks?

Read the written version of this tutorial here:
https://drupalize.me/tutorial/what-ar...

Hooks allow modules to alter and extend the behavior of Drupal core, or another module. They are one of the various ways that code components in Drupal can communicate with one another. Using hooks a module developer can change how core or another module works -- without changing the existing code. As a Drupal developer, understanding how to implement and invoke hooks is essential.

In this tutorial we'll:

- Define what hooks are and the types of hooks that exist
- Understand the use-case for hooks
- By the end of this tutorial you should understand what hooks are and how they are used in Drupal, as well as be able to find more information about implementing and invoking hooks from your custom code.

Discover hundreds more Drupal tutorials at: https://drupalize.me/tutorials

Комментарии

Информация по комментариям в разработке