You are here

function field_rules_load_field_instance in Field Rules 7

File

./field_rules.rules.inc, line 281

Code

function field_rules_load_field_instance($node_type, $field) {
  return array(
    'loaded_field_instance' => field_read_instance('node', $field['field_name'], $node_type->type),
  );
}