By ptmkenny on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
11.x
Introduced in version:
11.5.0
Issue links:
Description:
Views::getHandlerTypes() no longer caches its result. Each call now returns a new array of TranslatableMarkup objects.
Views::t()(protected static) is deprecated in Drupal 11.5 and removed from Drupal 13. There is no replacement for the caching behavior. For translations, usenew TranslatableMarkup()orStringTranslationTrait.Views::$translationManagerandViews::$handlerTypes(protected static) are deprecated in Drupal 11.5 and removed from Drupal 13. Core no longer reads or writes them. There is no replacement.
For subclasses, overriding Views::t() no longer changes the labels that getHandlerTypes() returns. Code that read static::$handlerTypes now receives NULL. Call getHandlerTypes() instead.
Impacts:
Module developers