function ExpressionManager::createActionSet
Creates a new action set.
Parameters
\Drupal\rules\Context\ContextConfig $configuration: (optional) The context configuration used to create the plugin instance.
Return value
\Drupal\rules\Plugin\RulesExpression\ActionSetExpression The created action set.
Overrides ExpressionManagerInterface::createActionSet
File
-
src/
Engine/ ExpressionManager.php, line 58
Class
- ExpressionManager
- Plugin manager for all Rules expressions.
Namespace
Drupal\rules\EngineCode
public function createActionSet(ContextConfig $configuration = NULL) {
$config_array = is_null($configuration) ? [] : $configuration->toArray();
return $this->createInstance('rules_action_set', $config_array);
}