function NodeMakeSticky::autoSaveContext

Overrides RulesActionBase::autoSaveContext

File

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

Class

NodeMakeSticky
Makes a content item sticky.

Namespace

Drupal\rules\Plugin\RulesAction

Code

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