Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
language.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
11 Sep 2013 at 08:36 UTC
Updated:
29 Jul 2014 at 22:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
brianV commentedI'll take a crack at this in the morning!
Comment #2
brianV commentedFirst pass
Comment #3
brianV commentedWith whitespace fixes dreditor hinted at.
Comment #4
brianV commentedSorry, one final niggling whitespace fix.
Comment #6
brianV commentedThis patch backs off the Local Tasks changeover as that's still in flux and was causing test failures.
The patch has two failures left that I can't figure out. Apparently, somehow, my changes to the language negotiation form controller cause the site to redirect incorrectly after the a different default language is selected on the regional settings page. It's not clear how changes to this route and controller are affecting that one.
Open to any ideas about these failures.
Comment #8
jibranComment #9
brianV commentedjibran - thanks for updating the status.
It was inexplicably failing tests; now it works! Must have been a bad test or something that got fixed...
Comment #10
dawehner@inheritdoc
Isn't there $this->config() available?
>80 chars.
Is there a reason to not inject it?
All of the t() should be $this->t()
Comment #11
jibranNW as per #10.
Comment #12
jibranSome fixes.
Comment #14
jibran:/
Comment #16
disasm commentedslight typo, this should fix it.
Comment #17
disasm commentedComment #18
disasm commentedI'd prefer to store the entire configFactory so if another module extends this, and needs a different config, they'd be able to get it still, without reinjecting the configFactory. If you aren't going to store the factory, at least specify what config this is instead of just $config.
Comment #19
jibranSome fixes and tested manually works fine.
Comment #20
disasm commentedI can live with that. If it passes, RTBC.
Comment #21
disasm commentedoops
Comment #22
disasm commentedjust can't win...
Comment #24
hydra commentedSeems like the patch no longer applies
Comment #25
pwolanin commentedHere's a re-roll and minor tweaks around the handling of the block manager.
Comment #26
dawehnerI manually tested the page and it worked as expected. The code looks fine as well.
Comment #27
webchickCommitted and pushed to 8.x. Thanks!