Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tim.plunkett’s picture

Status: Needs review » Needs work

The last submitted patch, language-1925738-1.patch, failed testing.

tim.plunkett’s picture

Status: Needs work » Needs review
FileSize
777 bytes
38.06 KB

Copy/paste fail on my part.

tim.plunkett’s picture

FileSize
24.65 KB

Those other issues were committed.

Status: Needs review » Needs work
Issue tags: -FormInterface

The last submitted patch, language-1925738-4.patch, failed testing.

tim.plunkett’s picture

Status: Needs work » Needs review
Issue tags: +FormInterface

#4: language-1925738-4.patch queued for re-testing.

tim.plunkett’s picture

FileSize
7.43 KB
44.68 KB

Now includes #1934832: Provide a dedicated approach for using forms in routes
I added a base class to cut down on copy/paste, but its much better with the _form in routing.yml and the ControllerInterface.

tim.plunkett’s picture

FileSize
22.66 KB

Okay! Everything is finally in.

Kars-T’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
42.05 KB

The patch is rather basic as it encapsulates stuff from language.admin.inc in new SystemConfigFormBase objects and uses the symfony routing system. The source this way is much cleaner and easier to read. I checked if it uses the same config names and let the tests runs. They finished without any problems.

To me the changes make sense and as the tests don't show any errors I'd say it is rtbc.

1925738-test-run.png

webchick’s picture

Issue tags: -FormInterface

#8: language-1925738-8.patch queued for re-testing.

alexpott’s picture

Issue tags: +FormInterface

#8: language-1925738-8.patch queued for re-testing.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

andypost’s picture

+++ b/core/modules/language/language.moduleundefined
@@ -114,18 +114,14 @@ function language_menu() {
+    'page callback' => 'NOT_USED',
     'access arguments' => array('administer languages'),
...
+    'page callback' => 'NOT_USED',
     'access arguments' => array('administer languages'),

@@ -145,10 +141,8 @@ function language_menu() {
+    'page callback' => 'NOT_USED',
     'access arguments' => array('administer languages'),

Is not it needs follow-up to clean-up? Why "route name" is not used?

tim.plunkett’s picture

Status: Fixed » Needs review
FileSize
1.33 KB

Yep, that changed since March 8th when I wrote this :)

andypost’s picture

Status: Needs review » Reviewed & tested by the community

Suppose bot would be green!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed c0eaf0f and pushed to 8.x. Thanks!

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