label()) . '_job_id_' . $job->id(); } /** * Alter daily bucket job name. * * @param string $name */ function hook_tmgmt_smartling_bucket_job_name_alter(&$name) { $name = 'My daily bucket job'; } /** * Alter directives for the file being uploaded. * * @param array $directives */ function hook_tmgmt_smartling_directives_alter(array &$directives) { $directives['smartling.force_inline_for_tags'] = 'icon'; } /** * Alter list of base form ids of entities which are enabled for lock fields * mechanism. * * @param array $forms_to_enable_locked_fields */ function hook_tmgmt_smartling_locked_fields_base_form_id_list_alter(array &$forms_to_enable_locked_fields) { $forms_to_enable_locked_fields[] = 'my_custom_entity_base_form'; } /** * Alter data to be exported into an XML file. * * @param array $data */ function hook_tmgmt_smartling_xml_file_export_data_alter(array &$data) {} /** * Alter data to be imported from an XML file. * * @param array $data */ function hook_tmgmt_smartling_xml_file_import_data_alter(array &$data) {}