function ExecutionState::removeVariable
Overrides ExecutionStateInterface::removeVariable
File
-
src/
Context/ ExecutionState.php, line 140
Class
- ExecutionState
- The rules execution state.
Namespace
Drupal\rules\ContextCode
public function removeVariable($name) {
if (array_key_exists($name, $this->variables)) {
unset($this->variables[$name]);
}
return $this;
}