You are here

public function Data::__construct in Translation Management Tool 8

Configuration constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory:

File

src/Data.php, line 32

Class

Data
All data-related functions.

Namespace

Drupal\tmgmt

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->config = $config_factory
    ->get('tmgmt.settings');
}