You are here

function publication_date_node_update in Publication Date 7

Same name and namespace in other branches
  1. 7.2 publication_date.module \publication_date_node_update()

Implements hook_node_update().

File

./publication_date.module, line 41
Add a field to nodes containing the publication date.

Code

function publication_date_node_update($node) {

  // Save the publication date.
  _publication_date_set_date($node, 'update');
}