You are here

function _lingotek_get_deleted_translation_status_revision_table_name in Lingotek Translation 8.2

1 call to _lingotek_get_deleted_translation_status_revision_table_name()
lingotek_update_8215 in ./lingotek.install
Remove old unused Lingotek metadata fields from content entities.

File

./lingotek.install, line 1063
Install, update and uninstall functions for the Lingotek module.

Code

function _lingotek_get_deleted_translation_status_revision_table_name($entity_type_id) {
  $unique_id = $entity_type_id . '-' . 'lingotek_translation_status';
  return "field_deleted_revision_" . substr(hash('sha256', $unique_id), 0, 10);
}