tmgmt.plugin.interface.base.inc in Translation Management Tool 7
Contains the base plugin interface.
File
plugin/tmgmt.plugin.interface.base.incView source
<?php
/**
* @file
* Contains the base plugin interface.
*/
/**
* Base interface for Translation Management plugins.
*/
interface TMGMTPluginBaseInterface {
/**
* Constructor.
*
* @param $type
* The plugin type.
* @param $plugin
* The machine-readable name of the plugin.
*/
public function __construct($type, $plugin);
/**
* Returns the info of the type of the plugin.
*
* @see tmgmt_source_plugin_info()
*/
public function pluginInfo();
/**
* Returns the type of the plugin.
*/
public function pluginType();
}
Interfaces
Name![]() |
Description |
---|---|
TMGMTPluginBaseInterface | Base interface for Translation Management plugins. |