Issue #2102503 by swentel: Fixed Convert ContentTranslationController to CMI.

8.0.x
Nathaniel Catchpole 2013-10-07 12:08:55 +01:00
parent 3b00f30dca
commit ea5e1ccd3e
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ class ContentTranslationController implements ContentTranslationControllerInterf
'#maxlength' => 60,
'#autocomplete_route_name' => 'user.autocomplete',
'#default_value' => $name,
'#description' => t('Leave blank for %anonymous.', array('%anonymous' => variable_get('anonymous', t('Anonymous')))),
'#description' => t('Leave blank for %anonymous.', array('%anonymous' => \Drupal::config('user.settings')->get('anonymous'))),
);
$date = $new_translation ? REQUEST_TIME : $entity->translation[$form_langcode]['created'];