You are here

function rules_ui in Rules 7.2

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
Rules engine module.

Code

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