function tmgmt_smartling_test_alter_filename_tmgmt_smartling_filename_alter in TMGMT Translator Smartling 8.2
Same name and namespace in other branches
- 8.4 modules/tmgmt_smartling_test/modules/tmgmt_smartling_test_alter_filename/tmgmt_smartling_test_alter_filename.module \tmgmt_smartling_test_alter_filename_tmgmt_smartling_filename_alter()
- 8.3 modules/tmgmt_smartling_test/modules/tmgmt_smartling_test_alter_filename/tmgmt_smartling_test_alter_filename.module \tmgmt_smartling_test_alter_filename_tmgmt_smartling_filename_alter()
Alter translation file name.
Parameters
string $name:
JobInterface $job:
File
- modules/
tmgmt_smartling_test/ modules/ tmgmt_smartling_test_alter_filename/ tmgmt_smartling_test_alter_filename.module, line 15 - Contains hook implementation for testing purposes.
Code
function tmgmt_smartling_test_alter_filename_tmgmt_smartling_filename_alter(&$name, JobInterface $job) {
$name = 'TEST_job_id_' . $job
->id();
}