function tmgmt_local_field_attach_delete

Implements hook_field_attach_delete().

File

translators/tmgmt_local/tmgmt_local.module, line 491
Main module file for the local translation module.

Code

function tmgmt_local_field_attach_delete(UserInterface $user) {
  if (!$user
    ->hasPermission('provide translation services')) {
    return;
  }
  tmgmt_local_clear_languages_cache();
}