public static function OpenGraphMeta::instance in Open Graph meta tags 7.2
Same name and namespace in other branches
- 6 opengraph_meta.common.inc \OpenGraphMeta::instance()
- 7 opengraph_meta.common.inc \OpenGraphMeta::instance()
Get singleton instance.
2 calls to OpenGraphMeta::instance()
- OGMTTestBase::setUp in tests/
TestBase.inc - Sets up a Drupal site for running functional and integration tests.
- OGMTTestBase::tearDown in tests/
TestBase.inc - Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
File
- ./
opengraph_meta.common.inc, line 15
Class
Code
public static function instance() {
if (empty(self::$instance)) {
self::$instance = new OpenGraphMeta();
}
return self::$instance;
}