Inject string translation service into BookBreadcrumbBuilder

Created on 3 September 2015, over 8 years ago
Updated 24 April 2024, about 1 month ago

Problem/Motivation

As per trait StringTranslationTrait the string translation service should be injected if possible.

StringTranslationTrait uses \Drupal to find the service if it's not available, but we should specify it explicitly.

Proposed resolution

Explicitly inject the string translation service into BookBreadcrumbBuilder::__construct() as part of the inversion of control pattern.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Closed: outdated

Version

11.0 πŸ”₯

Component
BookΒ  β†’

Last updated 10 days ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @pwolanin
Created by

πŸ‡©πŸ‡ͺGermany morenstrat Bochum, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024