You are here

class RulesConditionalTestStubDefaultElement in Conditional Rules 8

Same name and namespace in other branches
  1. 7 tests/rules_conditional_test.inc \RulesConditionalTestStubDefaultElement

Test default element.

Hierarchy

Expanded class hierarchy of RulesConditionalTestStubDefaultElement

1 string reference to 'RulesConditionalTestStubDefaultElement'
rules_conditional_test_rules_plugin_info in tests/rules_conditional_test.module
Implements hook_rules_plugin_info().

File

tests/rules_conditional_test.inc, line 82
Testing implementations.

View source
class RulesConditionalTestStubDefaultElement extends RulesConditionalElement {
  protected $itemName = 'stub conditional default element';
  public function isDefault() {
    return TRUE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
RulesConditionalElement::$parent protected property The parent conditional.
RulesConditionalElement::canEvaluate public function Determines whether this branch can be evaluated. 4
RulesConditionalElement::checkSiblings protected function Checks basic conditional element integrity.
RulesConditionalElement::delete public function Deletes the element and its children. 1
RulesConditionalElement::dependencies public function 1
RulesConditionalElement::exportChildren protected function 3
RulesConditionalElement::exportSettings protected function
RulesConditionalElement::getAllSibling public function Gets sibling elements.
RulesConditionalElement::getNextSibling public function Gets the next sibling element.
RulesConditionalElement::getPreviousSibling public function Gets the previous sibling element.
RulesConditionalElement::importChildren protected function 3
RulesConditionalElement::integrityCheck public function 1
RulesConditionalElement::label public function 1
RulesConditionalElement::providesVariables public function 1
RulesConditionalElement::setParent public function @todo Remove once http://drupal.org/node/1671344 is resolved.
RulesConditionalTestStubDefaultElement::$itemName protected property
RulesConditionalTestStubDefaultElement::isDefault public function Determines whether this branch is default, i.e. covers the remainder of conditions outside of all non-default branches inside the conditional. Overrides RulesConditionalElement::isDefault