diff --git a/core/modules/config_translation/config_translation.module b/core/modules/config_translation/config_translation.module index 0956bd1..5971438 100644 --- a/core/modules/config_translation/config_translation.module +++ b/core/modules/config_translation/config_translation.module @@ -154,7 +154,8 @@ function config_translation_entity_operation_alter(array &$operations, EntityInt /** * Implements hook_config_translation_type_info_alter(). * - * @todo: Convert this hook into a real typed date alter hook. + * @todo Convert this hook into a real typed data alter hook, + * https://drupal.org/node/2145633. */ function config_translation_config_translation_type_info_alter(&$definitions) { $map = array( diff --git a/core/modules/config_translation/lib/Drupal/config_translation/FormElement/Element.php b/core/modules/config_translation/lib/Drupal/config_translation/FormElement/Element.php index c0d4c76..8d8f0cc 100644 --- a/core/modules/config_translation/lib/Drupal/config_translation/FormElement/Element.php +++ b/core/modules/config_translation/lib/Drupal/config_translation/FormElement/Element.php @@ -6,6 +6,7 @@ */ namespace Drupal\config_translation\FormElement; + use Drupal\Core\Language\Language; /** diff --git a/core/modules/config_translation/lib/Drupal/config_translation/FormElement/ElementInterface.php b/core/modules/config_translation/lib/Drupal/config_translation/FormElement/ElementInterface.php index 9b8f543..96b84be 100644 --- a/core/modules/config_translation/lib/Drupal/config_translation/FormElement/ElementInterface.php +++ b/core/modules/config_translation/lib/Drupal/config_translation/FormElement/ElementInterface.php @@ -35,7 +35,7 @@ public function getFormElement(array $definition, Language $language, $value); * @param array|string $base_config_data * Configuration object of base language, a string when done traversing * the data building each sub-structure for the form. - * @param $key + * @param string $key * The key in the configuration object. * @param \Drupal\Core\Language\Language $source_language * Thee source language of the configuration object. diff --git a/core/modules/config_translation/tests/modules/config_translation_test/config/config_translation_test.content.yml b/core/modules/config_translation/tests/modules/config_translation_test/config/config_translation_test.content.yml index e9139f6..55aa430 100644 --- a/core/modules/config_translation/tests/modules/config_translation_test/config/config_translation_test.content.yml +++ b/core/modules/config_translation/tests/modules/config_translation_test/config/config_translation_test.content.yml @@ -1,6 +1,5 @@ id: test label: 'Test' -uuid: 7ae02896-32ae-4875-9a00-f252939fa849 langcode: en content: value: "Hello World"