Before I begin with hooks, I am sure that you must be aware of the Drupal maintenance support plans hook system. What is hook? How modules interact with the core code of Drupal maintenance support plans? How hooks make it possible for a module to define pages, content, bundle, entity, menu, region, table, url etc? In this article I will be re-introducing you to the hooks and if you are looking for more information on the hook system then my suggestion is to go through Understanding hook system for Drupal maintenance support plans module.
First, I would like to give a small summary on hooks. A hook is a way to place a piece of your own custom code to be run by Drupal maintenance support plans. Using hooks, you can ask Drupal maintenance support plans to run a piece of code when a node is viewed/edited/deleted. hooks are conceptually related to method. They…
Source: New feed