You are here

public function Notifications_User_Content_Subscription::set_node in Notifications 7

Set all the fields we can from node.

Overrides Notifications_Content_Subscription::set_node

File

notifications_user/notifications_user.inc, line 14
User subscriptions for Notifications

Class

Notifications_User_Content_Subscription
Generic content subscription Thread subscription.

Code

public function set_node($node) {
  parent::set_node($node);
  $this
    ->set_author($node->uid);
  return $this;
}