You are here

function tmgmt_entity_ui_tmgmt_source_plugin_info_alter in Translation Management Tool 7

Implements tmgmt_entity_tmgmt_source_plugin_info_alter().

File

sources/entity/ui/tmgmt_entity_ui.module, line 32
Main module file for the translation management entity source plugin user interface.

Code

function tmgmt_entity_ui_tmgmt_source_plugin_info_alter(&$info) {

  // Define ui controller class to handle Drupal entities.
  $info['entity']['ui controller class'] = 'TMGMTEntitySourceUIController';

  // Alter file and file path info so that tmgmt_entity_ui module is targeted
  // for page callback.
  $info['entity']['file'] = 'tmgmt_entity_ui.pages.inc';
  $info['entity']['file path'] = drupal_get_path('module', 'tmgmt_entity_ui');
}