function SimplenewsSourceNode::setNode in Simplenews 7.2
Same name and namespace in other branches
- 7 includes/simplenews.source.inc \SimplenewsSourceNode::setNode()
Set the node.
File
- includes/
simplenews.source.inc, line 886 - Contains SimplenewsSource interface and implementations.
Class
- SimplenewsSourceNode
- Simplenews source implementation based on nodes for a single subscriber.
Code
function setNode($node) {
$this
->setEntity($node, 'node');
}