function ExecutionState::saveChangesLater
Mark a variable to be saved later when the execution is finished.
Parameters
string $selector: The data selector that specifies the target object to be saved. Example: node.uid.entity.
Return value
$this
Overrides ExecutionStateInterface::saveChangesLater
File
- 
              src/Context/ ExecutionState.php, line 179 
Class
- ExecutionState
- The rules execution state.
Namespace
Drupal\rules\ContextCode
public function saveChangesLater($selector) {
  $this->saveLater[$selector] = TRUE;
  return $this;
}