public function SocialNodeMessenger::setNode in Open Social 10.0.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_node/src/Service/SocialNodeMessenger.php \Drupal\social_node\Service\SocialNodeMessenger::setNode()
- 10.1.x modules/social_features/social_node/src/Service/SocialNodeMessenger.php \Drupal\social_node\Service\SocialNodeMessenger::setNode()
- 10.2.x modules/social_features/social_node/src/Service/SocialNodeMessenger.php \Drupal\social_node\Service\SocialNodeMessenger::setNode()
Defines the processing node.
Parameters
\Drupal\node\NodeInterface $node: The node.
Overrides SocialNodeMessengerInterface::setNode
File
- modules/
social_features/ social_node/ src/ Service/ SocialNodeMessenger.php, line 68
Class
- SocialNodeMessenger
- The messenger service.
Namespace
Drupal\social_node\ServiceCode
public function setNode(NodeInterface $node) {
$this->node = $node;
}