You are here

public static function ConnectorInfo::getDependenciesVersionsAsString in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.3 src/Smartling/ConnectorInfo.php \Drupal\tmgmt_smartling\Smartling\ConnectorInfo::getDependenciesVersionsAsString()
3 calls to ConnectorInfo::getDependenciesVersionsAsString()
BufferLogger::flush in src/Logger/BufferLogger.php
Log messages into needed destination.
ConnectorInfo::setUpCurrentClientInfo in src/Smartling/ConnectorInfo.php
Set up current client id and version.
ConnectorInfoTest::testGetDependenciesVersionsAsString in tests/src/Kernel/ConnectorInfoTest.php

File

src/Smartling/ConnectorInfo.php, line 54
SmartlingApiFactory.php.

Class

ConnectorInfo
Class ConnectorInfo @package Drupal\tmgmt_smartling\Smartling

Namespace

Drupal\tmgmt_smartling\Smartling

Code

public static function getDependenciesVersionsAsString() {
  $result = [];
  $dependencies = [
    'tmgmt_extension_suit',
    'tmgmt',
  ];
  foreach ($dependencies as $dependency) {
    $result[] = "{$dependency}/" . self::getLibVersion($dependency);
  }
  return implode(' ', $result);
}