What is hooks in drupal and list few hooks used in your project?
Answer Posted / Ashwini Kumar Singh
In Drupal, hooks are functions that allow developers to interact with core functionality at specific points. They provide a way for custom modules and themes to 'hook into' the Drupal system. Some common hooks include hook_menu (for defining navigation), hook_form_alter (for modifying forms), and hook_nodeapi (for manipulating node objects). The specific hooks used in a project depend on its requirements.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers