currently DevelEventSubscriber collects heterogeneous methods used for different functionalities.
The idea is to split DevelEventSubscriber into multiple classes each of which encapsulate the methods for a single functionality.
By splitting up DevelEventSubscriber we obtain better logical grouping and better maintainability.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

willzyx created an issue. See original summary.

willzyx’s picture

Status: Active » Needs review
FileSize
28.32 KB
willzyx’s picture

sorry I'm missing to add some files in the previous patch

The last submitted patch, 2: split-2832882-2.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 3: split-2832882-3.patch, failed testing.

willzyx’s picture

And of course migrate DevelErrorHandlerTest from WebTestBase to BrowserTestBase is out of scope for this issue (or at least not a priority).. sorry for the noise :P

willzyx’s picture

Status: Needs work » Needs review
willzyx’s picture

Title: Split DevelEvenSubscriber into multiple classes » Split DevelEventSubscriber into multiple classes
Issue summary: View changes
lussoluca’s picture

Status: Needs review » Reviewed & tested by the community
willzyx’s picture

give to other maintainers some other time to review the patch.. I will commit this in a couple of days

moshe weitzman’s picture

This looks great to me. Thanks @willzx

  • willzyx committed d3d4eae on 8.x-1.x
    Issue #2832882 by willzyx: Split DevelEventSubscriber into multiple...
willzyx’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

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