You are here

public static function GmapMacroToolbox::getInstance in GMap Module 7.2

Getting an instance.

Return value

array GmapMacroToolbox SingleTon instance

File

lib/Drupal/gmap/GmapMacroToolbox.php, line 57
Contains GmapMacroToolbox.php

Class

GmapMacroToolbox

Namespace

Drupal\gmap

Code

public static function getInstance() {
  if (is_null(self::$gmapInstance)) {
    self::$gmapInstance = new self();
  }
  return self::$gmapInstance;
}