function NodeUnpromote::autoSaveContext

Overrides RulesActionBase::autoSaveContext

File

src/Plugin/RulesAction/NodeUnpromote.php, line 39

Class

NodeUnpromote
Demotes a content item.

Namespace

Drupal\rules\Plugin\RulesAction

Code

public function autoSaveContext() {
    // The node should be auto-saved after the execution.
    return [
        'node',
    ];
}