translation_owner-1.0.1/translation_owner.module
translation_owner.module
<?php
/**
* @file
* Contains translation_owner.module.
*/
/**
* Implements hook_help().
*/
function translation_owner_help($route_name, \Drupal\Core\Routing\RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.translation_owner':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Translation Owner Manager module provides tools to manage content translation ownership.') . '</p>';
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Managing translation ownership') . '</dt>';
$output .= '<dd>' . t('Use Drush commands to update translation ownership:');
$output .= '<br>drush translation-owner:update-uid [nid] [langcode] [new_uid]</dd>';
$output .= '</dl>';
return $output;
}
}
