You are here

function hook_tmgmt_source_plugin_info_alter in Translation Management Tool 8

Same name and namespace in other branches
  1. 7 tmgmt.api.php \hook_tmgmt_source_plugin_info_alter()

Alter source plugins information.

Parameters

$info: The defined source plugin information.

Related topics

1 invocation of hook_tmgmt_source_plugin_info_alter()
SourceManager::__construct in src/SourceManager.php
Constructs a ConditionManager object.

File

./tmgmt.api.php, line 21
Hooks provided by the Translation Management module.

Code

function hook_tmgmt_source_plugin_info_alter(&$info) {
  $info['test_source']['description'] = t('Updated description');
}