You are here

public static function InstapageCmsPluginConnector::getSelectedLanguage in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/connectors/InstapageCmsPluginConnector.php \InstapageCmsPluginConnector::getSelectedLanguage()

Gets selected language.

2 calls to InstapageCmsPluginConnector::getSelectedLanguage()
InstapageCmsPluginWPConnector::addAdminJS in core/connectors/InstapageCmsPluginWPConnector.php
Adds JS necessary to for plugin's dashboard.
load_instapage_cms_plugin_dashboard in core/connectors/InstapageCmsPluginDrupal7Connector.php
Drupal 7 hook. Function called to load plugin's dashboard.

File

core/connectors/InstapageCmsPluginConnector.php, line 26

Class

InstapageCmsPluginConnector
Main connector class, used to integrate with PHP-based CMSes. It's job is to detect a CMS that executes the code and select proper CMS Connector.

Code

public static function getSelectedLanguage() {
  return self::$selectedLanguage;
}