Commit ea5e1ccd authored by catch's avatar catch

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

parent 3b00f30d
......@@ -269,7 +269,7 @@ public function entityFormAlter(array &$form, array &$form_state, EntityInterfac
'#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'];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment