You are here

class RulesConditionalTestStubSingleElement in Conditional Rules 8

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

Test single element.

Hierarchy

Expanded class hierarchy of RulesConditionalTestStubSingleElement

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

File

tests/rules_conditional_test.inc, line 100
Testing implementations.

View source
class RulesConditionalTestStubSingleElement extends RulesConditionalElement {
  protected $itemName = 'stub conditional single element';

}

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::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. 3
RulesConditionalElement::label public function 1
RulesConditionalElement::providesVariables public function 1
RulesConditionalElement::setParent public function @todo Remove once http://drupal.org/node/1671344 is resolved.
RulesConditionalTestStubSingleElement::$itemName protected property