Issue #2939247 by plach, hchonov: Revert Content Translation routes to act on default rather than latest revisions
parent
2eaceaa435
commit
479aa4b162
|
@ -70,7 +70,6 @@ class ContentTranslationRouteSubscriber extends RouteSubscriberBase {
|
|||
'parameters' => [
|
||||
$entity_type_id => [
|
||||
'type' => 'entity:' . $entity_type_id,
|
||||
'load_latest_revision' => TRUE,
|
||||
],
|
||||
],
|
||||
'_admin_route' => $is_admin,
|
||||
|
@ -103,7 +102,6 @@ class ContentTranslationRouteSubscriber extends RouteSubscriberBase {
|
|||
],
|
||||
$entity_type_id => [
|
||||
'type' => 'entity:' . $entity_type_id,
|
||||
'load_latest_revision' => TRUE,
|
||||
],
|
||||
],
|
||||
'_admin_route' => $is_admin,
|
||||
|
@ -129,7 +127,6 @@ class ContentTranslationRouteSubscriber extends RouteSubscriberBase {
|
|||
],
|
||||
$entity_type_id => [
|
||||
'type' => 'entity:' . $entity_type_id,
|
||||
'load_latest_revision' => TRUE,
|
||||
],
|
||||
],
|
||||
'_admin_route' => $is_admin,
|
||||
|
@ -155,7 +152,6 @@ class ContentTranslationRouteSubscriber extends RouteSubscriberBase {
|
|||
],
|
||||
$entity_type_id => [
|
||||
'type' => 'entity:' . $entity_type_id,
|
||||
'load_latest_revision' => TRUE,
|
||||
],
|
||||
],
|
||||
'_admin_route' => $is_admin,
|
||||
|
|
Loading…
Reference in New Issue