You are here

public function LingotekConfigurationService::mustDeleteRemoteAfterDisassociation in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/LingotekConfigurationService.php \Drupal\lingotek\LingotekConfigurationService::mustDeleteRemoteAfterDisassociation()
  2. 4.0.x src/LingotekConfigurationService.php \Drupal\lingotek\LingotekConfigurationService::mustDeleteRemoteAfterDisassociation()
  3. 3.0.x src/LingotekConfigurationService.php \Drupal\lingotek\LingotekConfigurationService::mustDeleteRemoteAfterDisassociation()
  4. 3.1.x src/LingotekConfigurationService.php \Drupal\lingotek\LingotekConfigurationService::mustDeleteRemoteAfterDisassociation()
  5. 3.2.x src/LingotekConfigurationService.php \Drupal\lingotek\LingotekConfigurationService::mustDeleteRemoteAfterDisassociation()
  6. 3.3.x src/LingotekConfigurationService.php \Drupal\lingotek\LingotekConfigurationService::mustDeleteRemoteAfterDisassociation()
  7. 3.4.x src/LingotekConfigurationService.php \Drupal\lingotek\LingotekConfigurationService::mustDeleteRemoteAfterDisassociation()
  8. 3.5.x src/LingotekConfigurationService.php \Drupal\lingotek\LingotekConfigurationService::mustDeleteRemoteAfterDisassociation()
  9. 3.6.x src/LingotekConfigurationService.php \Drupal\lingotek\LingotekConfigurationService::mustDeleteRemoteAfterDisassociation()
  10. 3.7.x src/LingotekConfigurationService.php \Drupal\lingotek\LingotekConfigurationService::mustDeleteRemoteAfterDisassociation()
  11. 3.8.x src/LingotekConfigurationService.php \Drupal\lingotek\LingotekConfigurationService::mustDeleteRemoteAfterDisassociation()

Determines if remote documents must be deleted after disassociation.

Return value

boolean

Overrides LingotekConfigurationServiceInterface::mustDeleteRemoteAfterDisassociation

File

src/LingotekConfigurationService.php, line 250
Contains \Drupal\lingotek\LingotekConfigurationService.

Class

LingotekConfigurationService
Service for managing lingotek configuration.

Namespace

Drupal\lingotek

Code

public function mustDeleteRemoteAfterDisassociation() {
  $config = \Drupal::config('lingotek.settings');
  return $config
    ->get('preference.delete_tms_documents_upon_disassociation');
}