You are here

function blazy_ui in Blazy 7

Returns one of the Blazy service objects mainly used by procedural hooks.

Return value

class The required Blazy class instance.

2 string references to 'blazy_ui'
BlazyTest::setUp in tests/Blazy.test
Overrides DrupalWebTestCase::setUp.
blazy_ui_library in modules/blazy_ui/blazy_ui.module
Implements hook_library().

File

modules/blazy_ui/blazy_ui.module, line 16
Provides the Blazy UI.

Code

function blazy_ui() {
  static $blazy_ui;
  if (!isset($blazy_ui)) {
    $blazy_ui = new BlazySettingsForm(blazy());
  }
  return $blazy_ui;
}