You are here

public static function GmapDefaults::getInstance in GMap Module 7.2

Getting an instance.

Return value

object GmapDefaults SingleTon instance

File

lib/Drupal/gmap/GmapDefaults.php, line 140
Contains GmapDefaults.php

Class

GmapDefaults

Namespace

Drupal\gmap

Code

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