function EntitySave::autoSaveContext
Overrides RulesActionBase::autoSaveContext
File
-
src/
Plugin/ RulesAction/ EntitySave.php, line 63
Class
- EntitySave
- Provides a 'Save entity' action.
Namespace
Drupal\rules\Plugin\RulesActionCode
public function autoSaveContext() {
if ($this->saveLater) {
return [
'entity',
];
}
return [];
}