function rules_ui

Returns an instance of the rules UI controller.

This function is for convenience, to ease re-using the Rules UI. See the rules_admin.module for example usage.

Return value

RulesUIController

File

./rules.module, line 68

Code

function rules_ui() {
    $static = drupal_static(__FUNCTION__);
    if (!isset($static)) {
        $static = new RulesUIController();
    }
    return $static;
}