function RulesDataProcessor::getChainSettings

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

File

includes/rules.processor.inc, line 146

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();
}