drupaldrupal-7drupal-nodes

Drupal 7 How to trigger/hook the node "Publish" event?


In Drupal 7, I want to add a additional process when a node gets Published. How can I get triggered when that node's "Publish" event fires?

Is there any hook for node "Publish"?


Solution

  • Ayesh K answer is good.
    And i also found another alternative by using Drupal "Rules" to trigger the publish event.