Comments

ACF’s picture

Status: Active » Needs review
StatusFileSize
new13.68 KB
ACF’s picture

StatusFileSize
new13.96 KB

Updated to use the form controller.

tim.plunkett’s picture

Status: Needs review » Needs work
+++ b/core/modules/language/language.moduleundefined
+++ b/core/modules/language/language.moduleundefined
@@ -1,4 +1,4 @@

@@ -1,4 +1,4 @@
-<?php
+1<?php
 
 /**

:)

+++ b/core/modules/locale/lib/Drupal/locale/Form/LocaleFormBase.phpundefined
@@ -0,0 +1,46 @@
+abstract class LocaleFormBase extends SystemConfigFormBase implements ControllerInterface {

This isn't needed anymore, its all in the SystemConfigBase now

ACF’s picture

Status: Needs work » Needs review
StatusFileSize
new12.39 KB

Thanks for looking hopefully this is better.

Crell’s picture

Status: Needs review » Needs work
+++ b/core/modules/locale/locale.module
@@ -215,8 +215,7 @@ function locale_menu() {
-    'page callback' => 'drupal_get_form',
-    'page arguments' => array('locale_translate_settings'),
+    'page callback' => 'NOT_USED',
     'access arguments' => array('translate interface'),

Not more "NOT_USED". Instead, have a "route" key that refers to the name of the route from the yaml file.

ACF’s picture

Status: Needs work » Needs review
StatusFileSize
new12.53 KB

Updated with the change.

Crell’s picture

Status: Needs review » Reviewed & tested by the community

The bot can complain if it disagrees.

Crell’s picture

Status: Reviewed & tested by the community » Needs work

Oh crap. Totally my fault. We changed it. It's now "route_name", not "route". :-( Sorry.

ACF’s picture

Status: Needs work » Needs review
StatusFileSize
new12.53 KB

No worries, thanks for the review.

Crell’s picture

Status: Needs review » Reviewed & tested by the community

Huzzah!

webchick’s picture

Issue tags: +SprintWeekend2013

Great work!

Committed and pushed to 8.x. Thanks!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.