You are here

private function BucketJobManager::getName in TMGMT Translator Smartling 8.3

Same name and namespace in other branches
  1. 8.4 src/Smartling/BucketJobManager.php \Drupal\tmgmt_smartling\Smartling\BucketJobManager::getName()

Parameters

string $suffix:

Return value

string

1 call to BucketJobManager::getName()
BucketJobManager::handle in src/Smartling/BucketJobManager.php

File

src/Smartling/BucketJobManager.php, line 84
BucketJobManager.

Class

BucketJobManager
Class BucketJobManager.

Namespace

Drupal\tmgmt_smartling\Smartling

Code

private function getName($suffix = '') {
  $date = date('m/d/Y');
  $name = "Daily Bucket Job {$date}";
  $this->moduleHandler
    ->alter('tmgmt_smartling_bucket_job_name', $name);
  return $name . $suffix;
}