Closed (fixed)
Project:
Drupal core
Version:
8.8.x-dev
Component:
views.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Mar 2014 at 17:56 UTC
Updated:
24 Jun 2020 at 23:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damiankloip commentedHere is a start.
Comment #2
dawehnerI wonder why we don't put it into the views class. It is a bit similar to \Drupal::version
Comment #3
damiankloip commentedThat works for me.
Same shit, different class :)
Comment #4
dawehnerNice shit!
Comment #5
webchick3: 2219689-3.patch queued for re-testing.
Comment #7
alexpott2219689-3.patch no longer applies.
Comment #8
damiankloip commentedComment #9
damiankloip commentedComment #10
damiankloip commentedComment #11
alexpottt('bajillion')?
Comment #12
damiankloip commentedOK FINE :)
How about that?
Comment #13
alexpottLooks good to me.
Comment #14
damiankloip commentedBack to RTBC in that case :)
Do your worst.
Comment #15
alexpottWorst done.
Committed 55b0a05 and pushed to 8.x. Thanks!
Comment #17
damiankloip commentedHow did the $plugins property get all the way down there...? Let's move it quickly to be with the other properties.
Comment #18
dawehnerha
Comment #19
alexpottCommitted 3c89fb9 and pushed to 8.x. Thanks!
Comment #21
damiankloip commentedThanks and apologies, all at the same time :)
Comment #22
ParisLiakos commentedi dont think static::t() works for the string extractor. We should either open an issue for that or revert them back to t() ? those strings are untranslatable now
Comment #23
damiankloip commentedBooo :( open a follow up?
Although, IMO we need to try and make this sort of static t() implementation work?
Comment #24
ParisLiakos commentedi agree we need a static version of t(), this usecase never occurred to me..but i dont see the point of having
static::translationManagerproperty and fill it from\Drupal::translation()..a\Drupal::t()would do the exact same thing, and would be far less to type for you..so i guess we need an issue: deprecate
t()for\Drupal::t()(To make static things unit testable)?But i still think we should have another one quick followup here, to remove the static::t() and translationManager bits. do you agree?
Comment #25
damiankloip commentedYes, sounds like a good settlement to me!
ParisLiakos++
Comment #27
lauriiiComment #39
andypostFollow-up for #22 #27 filed #3150721: Review static translation for \Drupal\views\Views::getHandlerTypes()