updated core to 7.58 (right after the site was hacked)
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains the base plugin class.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Base class for Translation Management plugins.
|
||||
*/
|
||||
class TMGMTPluginBase implements TMGMTPluginBaseInterface {
|
||||
|
||||
protected $pluginType;
|
||||
protected $pluginInfo;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function __construct($type, $plugin) {
|
||||
$this->pluginType = $plugin;
|
||||
$this->pluginInfo = _tmgmt_plugin_info($type, $plugin);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function pluginInfo() {
|
||||
return $this->pluginInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function pluginType() {
|
||||
return $this->pluginType;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user