You are here

function rules_action_entity_query in Rules 7.2

Action: Query entities.

Related topics

1 string reference to 'rules_action_entity_query'
rules_entity_action_info in modules/entity.rules.inc
Implements hook_rules_action_info() on behalf of the entity module.

File

modules/entity.eval.inc, line 55
Contains rules integration for entities needed during evaluation.

Code

function rules_action_entity_query($type, $property, $value, $limit) {
  $return = entity_property_query($type, $property, $value, $limit);
  return array(
    'entity_fetched' => array_values($return),
  );
}