You are here

public function WsConfig::getLanguagePlugin in Web Service Data 7

Get the currently configured language plugin and its settings

1 call to WsConfig::getLanguagePlugin()
WsConfig::call in modules/wsconfig/wsconfig.entity.inc
Method for calling a webservice method.

File

modules/wsconfig/wsconfig.entity.inc, line 69
Entity classes

Class

WsConfig
The class used for wsconfig entities

Code

public function getLanguagePlugin() {
  $plugin = $this->wsconfig_type
    ->getEnabledLanguagePlugin();
  if (!empty($plugin)) {
    return $plugin;
  }
  return FALSE;
}