You are here

public function ConfigProcessorInterface::convertToTranslation in Translation Management Tool 8

Converts a translated data structure.

Parameters

array $data: The translated data structure.

Return value

array Returns a translation array as expected by \Drupal\config_translation\FormElement\ElementInterface::setConfig().

1 method overrides ConfigProcessorInterface::convertToTranslation()
DefaultConfigProcessor::convertToTranslation in sources/tmgmt_config/src/DefaultConfigProcessor.php
Converts a translated data structure.

File

sources/tmgmt_config/src/ConfigProcessorInterface.php, line 32

Class

ConfigProcessorInterface

Namespace

Drupal\tmgmt_config

Code

public function convertToTranslation($data);