function ExecutionStateInterface::removeVariable
Removes a variable from the state if it is set.
Parameters
string $name: The name of the variable to remove.
Return value
$this
1 method overrides ExecutionStateInterface::removeVariable()
- ExecutionState::removeVariable in src/
Context/ ExecutionState.php - Removes a variable from the state if it is set.
File
-
src/
Context/ ExecutionStateInterface.php, line 87
Class
- ExecutionStateInterface
- Defines an interface for the execution context state.
Namespace
Drupal\rules\ContextCode
public function removeVariable($name);