function RulesExtendable::forceSetUp

Forces the object to be setUp, this executes setUp() if not done yet.

3 calls to RulesExtendable::forceSetUp()
RulesExtendable::facesAs in includes/rules.core.inc
RulesExtendable::__call in includes/rules.core.inc
Magic method: Invoke the dynamically implemented methods.
RulesPlugin::pluginInfo in includes/rules.core.inc
Returns info about the element's plugin.
1 method overrides RulesExtendable::forceSetUp()
RulesAbstractPlugin::forceSetUp in includes/rules.core.inc
Forces the object to be setUp, this executes setUp() if not done yet.

File

includes/rules.core.inc, line 367

Class

RulesExtendable
Base class for RulesExtendables.

Code

public function forceSetUp() {
    if (!isset($this->cache) || !empty($this->itemInfo['faces_cache']) && !$this->faces) {
        $this->setUp();
    }
}