You are here

function tmgmt_smartling_test_user_logout in TMGMT Translator Smartling 8.2

Same name and namespace in other branches
  1. 8.4 modules/tmgmt_smartling_test/tmgmt_smartling_test.module \tmgmt_smartling_test_user_logout()
  2. 8 modules/tmgmt_smartling_test/tmgmt_smartling_test.module \tmgmt_smartling_test_user_logout()
  3. 8.3 modules/tmgmt_smartling_test/tmgmt_smartling_test.module \tmgmt_smartling_test_user_logout()

Implements hook_user_logout().

File

modules/tmgmt_smartling_test/tmgmt_smartling_test.module, line 20
Contains hook implementation for testing purposes.

Code

function tmgmt_smartling_test_user_logout($account) {
  Drupal::logger('tmgmt_smartling')
    ->info('User @name has logged out.', [
    '@name' => $account
      ->getDisplayName(),
  ]);
}