You are here

interface TMGMTPluginBaseInterface in Translation Management Tool 7

Base interface for Translation Management plugins.

Hierarchy

Expanded class hierarchy of TMGMTPluginBaseInterface

All classes that implement TMGMTPluginBaseInterface

File

plugin/tmgmt.plugin.interface.base.inc, line 11
Contains the base plugin interface.

View source
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();

}

Members

Namesort descending Modifiers Type Description Overrides
TMGMTPluginBaseInterface::pluginInfo public function Returns the info of the type of the plugin. 1
TMGMTPluginBaseInterface::pluginType public function Returns the type of the plugin. 1
TMGMTPluginBaseInterface::__construct public function Constructor. 1