You are here

public function RulesNodeConditionType::assertions in Rules 7.2

Provides the content type of a node as asserted metadata.

Overrides RulesPluginHandlerBase::assertions

File

modules/node.eval.inc, line 63
Contains rules integration for the node module needed during evaluation.

Class

RulesNodeConditionType
Condition: Check for selected content types.

Code

public function assertions() {
  return array(
    'node' => array(
      'bundle' => $this->element->settings['type'],
    ),
  );
}