function NodeMakeUnsticky::autoSaveContext
Overrides RulesActionBase::autoSaveContext
File
-
src/
Plugin/ RulesAction/ NodeMakeUnsticky.php, line 39
Class
- NodeMakeUnsticky
- Makes a content item not sticky.
Namespace
Drupal\rules\Plugin\RulesActionCode
public function autoSaveContext() {
// The node should be auto-saved after the execution.
return [
'node',
];
}