function rules_array_key

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 1220

Code

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