You are here

public static function Menu::instance in Forena Reports 8

Singleton Factory

Return value

\Drupal\forena\Menu

File

src/Menu.php, line 28
Menu.inc Drupal menu builder @author davidmetzler

Class

Menu

Namespace

Drupal\forena

Code

public static function instance() {
  if (static::$instance === NULL) {
    static::$instance = new static();
  }
  return static::$instance;
}