You are here

function rb_cck_condition_has_content in Rules Bonus Pack 6

The 'rb_cck_condition_has_content' condition.

File

./rb_cck.module, line 384
Functions for extending CCK field management with Rules.

Code

function rb_cck_condition_has_content($node, $settings) {
  return !rb_cck_field_is_empty($settings['field'], $node);
}