You are here

public function ChartsTypeInfo::__construct in Charts 8.3

File

src/Settings/ChartsTypeInfo.php, line 12

Class

ChartsTypeInfo

Namespace

Drupal\charts\Settings

Code

public function __construct() {
  $translation = \Drupal::service('string_translation');
  $this
    ->setStringTranslation($translation);
}