You are here

public function RulesDataProcessor::getChainSettings in Rules 7.2

Gets the settings array for this and all contained chained processors.

File

includes/rules.processor.inc, line 146
Contains classes for data processing.

Class

RulesDataProcessor
Common base class for Rules data processors.

Code

public function getChainSettings() {
  foreach ($this
    ->unchain() as $name => $processor) {
    $settings[$name] = $processor
      ->getSetting();
  }
  return isset($settings) ? $settings : array();
}