protected function RemoveDataFromSessionAction::doExecute in Rules Session Variables 2.0.x
Same name and namespace in other branches
- 2.x src/Plugin/RulesAction/RemoveDataFromSessionAction.php \Drupal\rules_session_vars\Plugin\RulesAction\RemoveDataFromSessionAction::doExecute()
File
- src/
Plugin/ RulesAction/ RemoveDataFromSessionAction.php, line 65
Class
- RemoveDataFromSessionAction
- Provides a 'Remove data from session' action.
Namespace
Drupal\rules_session_vars\Plugin\RulesActionCode
protected function doExecute($data_key) {
if ($this->session) {
$this->session
->remove($data_key);
}
}