You are here

public function TMGMTPluginBase::__construct in Translation Management Tool 7

Constructor.

Parameters

$type: The plugin type.

$plugin: The machine-readable name of the plugin.

Overrides TMGMTPluginBaseInterface::__construct

File

plugin/tmgmt.plugin.base.inc, line 19
Contains the base plugin class.

Class

TMGMTPluginBase
Base class for Translation Management plugins.

Code

public function __construct($type, $plugin) {
  $this->pluginType = $plugin;
  $this->pluginInfo = _tmgmt_plugin_info($type, $plugin);
}