Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
ea5e1ccd
Commit
ea5e1ccd
authored
Oct 07, 2013
by
catch
Browse files
Issue
#2102503
by swentel: Fixed Convert ContentTranslationController to CMI.
parent
3b00f30d
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationController.php
View file @
ea5e1ccd
...
...
@@ -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
(
'
A
nonymous'
)))
)
,
'#description'
=>
t
(
'Leave blank for %anonymous.'
,
array
(
'%anonymous'
=>
\
Drupal
::
config
(
'user.settings'
)
->
ge
t
(
'
a
nonymous'
))),
);
$date
=
$new_translation
?
REQUEST_TIME
:
$entity
->
translation
[
$form_langcode
][
'created'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment