You are here

function rules_array_key in Rules 7.2

Returns the first key of the array.

7 calls to rules_array_key()
RulesAbstractPlugin::import in includes/rules.core.inc
Applies the given export.
RulesCondition::import in includes/rules.plugins.inc
Applies the given export.
RulesContainerPlugin::importChildren in includes/rules.core.inc
RulesDataUI::selectionForm in ui/ui.data.inc
Provides the selection form for a parameter.
RulesLoop::importSettings in includes/rules.plugins.inc

... See full list

File

./rules.module, line 1188
Rules engine module.

Code

function rules_array_key($array) {
  reset($array);
  return key($array);
}