You are here

public function RulesActionBase::autoSaveContext in Rules 8.3

Returns a list of context names that should be auto-saved after execution.

Return value

array A subset of context names as specified in the context definition of this action.

Overrides RulesActionInterface::autoSaveContext

14 methods override RulesActionBase::autoSaveContext()
DataSet::autoSaveContext in src/Plugin/RulesAction/DataSet.php
Returns a list of context names that should be auto-saved after execution.
EntitySave::autoSaveContext in src/Plugin/RulesAction/EntitySave.php
Returns a list of context names that should be auto-saved after execution.
NodeMakeSticky::autoSaveContext in src/Plugin/RulesAction/NodeMakeSticky.php
Returns a list of context names that should be auto-saved after execution.
NodeMakeUnsticky::autoSaveContext in src/Plugin/RulesAction/NodeMakeUnsticky.php
Returns a list of context names that should be auto-saved after execution.
NodePromote::autoSaveContext in src/Plugin/RulesAction/NodePromote.php
Returns a list of context names that should be auto-saved after execution.

... See full list

File

src/Core/RulesActionBase.php, line 113

Class

RulesActionBase
Base class for rules actions.

Namespace

Drupal\rules\Core

Code

public function autoSaveContext() {

  // Per default no context parameters will be auto saved.
  return [];
}