function RulesAbstractPlugin::processSettings

Overrides RulesPlugin::processSettings

2 calls to RulesAbstractPlugin::processSettings()
RulesAbstractPlugin::evaluate in includes/rules.core.inc
Evaluate the element on a given rules evaluation state.
RulesAbstractPlugin::executeByArgs in includes/rules.core.inc
Execute the configuration by passing arguments in a single array.

File

includes/rules.core.inc, line 1613

Class

RulesAbstractPlugin
Defines a common base class for so-called "Abstract Plugins" like actions.

Code

public function processSettings($force = FALSE) {
    // Process if not done yet.
    if ($force || !empty($this->settings['#_needs_processing'])) {
        $this->resetInternalCache();
        // In case the element implements the info alteration callback, (re-)run
        // the alteration so that any settings depending info alterations are
        // applied.
        if ($this->facesMethods && $this->facesMethods['info_alter'] != $this->itemInfo['faces_cache'][0]['info_alter']) {
            $this->__call('info_alter', array(
                &$this->info,
            ));
        }
        // First let the plugin implementation do processing, so data types of the
        // parameters are fixed when we process the settings.
        $this->process();
        parent::processSettings($force);
    }
}