You are here

public function ExecutionStateInterface::removeVariable in Rules 8.3

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\Context

Code

public function removeVariable($name);