You are here

function rules_admin_rule_proxy::get_set_info in Rules 6

Gets the info about the set of this rule

2 calls to rules_admin_rule_proxy::get_set_info()
rules_admin_rule_proxy::get_available_variables in rules_admin/rules_admin.rule_proxy.inc
Gets info about all available variables This are the arguments of the rule's set as well as further arguments that might be provided by actions of this or preceding rules. Variables set to be hidden are left out.
rules_admin_rule_proxy::get_defined_variables in rules_admin/rules_admin.rule_proxy.inc
Gets info about all defined variables This are all available variables as well as variables defined in and after this rule.

File

rules_admin/rules_admin.rule_proxy.inc, line 209
Contains the rules proxy class

Class

rules_admin_rule_proxy
This is a smally proxy for the real rule. It provides some useful operations for the admin UI. It builds a small index for the elements of a rule, so that they can be easily identified and modified.

Code

function get_set_info() {
  $rule = $this
    ->get_rule();
  return rules_get_rule_sets($rule['#set']) + array(
    'arguments' => array(),
  );
}