function UserUnblock::autoSaveContext

Overrides RulesActionBase::autoSaveContext

File

src/Plugin/RulesAction/UserUnblock.php, line 51

Class

UserUnblock
Provides "Unblock User" action.

Namespace

Drupal\rules\Plugin\RulesAction

Code

public function autoSaveContext() {
    if ($this->saveLater) {
        return [
            'user',
        ];
    }
    return [];
}