Problem/Motivation

Adopt autoconfigured logger injection as described here in order to simplify constructors and service definitions.

User interface changes

None

API changes

Constructor signature changes to the following classes:

  • \Drupal\patternkit\LayoutHelper
  • \Drupal\patternkit\Asset\PatternDiscovery
  • \Drupal\patternkit\Asset\PatternDiscoveryLoader
  • \Drupal\patternkit\Asset\PatternLibraryParserBase
  • \Drupal\patternkit\JsonEditorFormBuilder
  • \Drupal\patternkit\PatternFieldProcessorPluginManager
  • \Drupal\patternkit\UpdateHelper

Data model changes

None

Issue fork patternkit-3480614

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

slucero created an issue. See original summary.

slucero’s picture

Status: Active » Needs review
petermallett’s picture

Status: Needs review » Reviewed & tested by the community

  • slucero committed b43fd31f on 9.1.x
    Issue #3480614 by slucero, petermallett: Update Logger Injection to be...
slucero’s picture

Status: Reviewed & tested by the community » Fixed

Merged for inclusion in the 1.0 release: #3468609: Patternkit 1.0 Release Plan

Status: Fixed » Closed (fixed)

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