Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
ea5e1ccd
Commit
ea5e1ccd
authored
Oct 07, 2013
by
catch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2102503
by swentel: Fixed Convert ContentTranslationController to CMI.
parent
3b00f30d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationController.php
...upal/content_translation/ContentTranslationController.php
+1
-1
No files found.
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