function TestNodeAction::autoSaveContext

Overrides RulesActionBase::autoSaveContext

File

tests/modules/rules_test/src/Plugin/RulesAction/TestNodeAction.php, line 42

Class

TestNodeAction
Provides a test action that sets a node title.

Namespace

Drupal\rules_test\Plugin\RulesAction

Code

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