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