function RulesNodeConditionType::assertions

Provides the content type of a node as asserted metadata.

File

modules/node.eval.inc, line 63

Class

RulesNodeConditionType
Condition: Check for selected content types.

Code

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