You are here

public function LoopExpression::defaultConfiguration in Rules 8.3

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ExpressionBase::defaultConfiguration

File

src/Plugin/RulesExpression/LoopExpression.php, line 25

Class

LoopExpression
Holds a set of actions that are executed over the iteration of a list.

Namespace

Drupal\rules\Plugin\RulesExpression

Code

public function defaultConfiguration() {
  return [
    // Default to 'list_item' as variable name for the list item.
    'list_item' => 'list_item',
  ];
}