You are here

function scheduler_node_update in Scheduler 8

Same name and namespace in other branches
  1. 7 scheduler.module \scheduler_node_update()

Implements hook_ENTITY_TYPE_update() for node entities.

4 calls to scheduler_node_update()
RemovePublishingDate::doExecute in scheduler_rules_integration/src/Plugin/RulesAction/RemovePublishingDate.php
Remove the publish_on date from the node.
RemoveUnpublishingDate::doExecute in scheduler_rules_integration/src/Plugin/RulesAction/RemoveUnpublishingDate.php
Remove the unpublish_on date from the node.
SetPublishingDate::doExecute in scheduler_rules_integration/src/Plugin/RulesAction/SetPublishingDate.php
Set the publish_on date for the node.
SetUnpublishingDate::doExecute in scheduler_rules_integration/src/Plugin/RulesAction/SetUnpublishingDate.php
Set the unpublish_on date for the node.

File

./scheduler.module, line 556
Scheduler publishes and unpublishes nodes on dates specified by the user.

Code

function scheduler_node_update(EntityInterface $node) {

  // Removed RULES code but keep the function. There may be code to add here.
  // This function is currently called by actions SetPublishingDate and
  // SetUnpublishingDate.
  // @todo remove this comment when done. JSS Sep 2016.
}