Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The LayoutPluginManager should use ContainerDerivativeDiscoveryDecorator so that layout plugins can have a deriver that implements ContainerDeriverInterface.
Proposed resolution
Use ContainerDerivativeDiscoveryDecorator instead of DerivativeDiscoveryDecorator
Remaining tasks
review patch.
User interface changes
none
API changes
extension: allows derivers to use services.
Data model changes
none
Comment | File | Size | Author |
---|---|---|---|
#2 | 2868949-2.patch | 1.62 KB | bircher |
Comments
Comment #2
bircherComment #3
ademarco CreditAttribution: ademarco at Nuvole commentedWorks well, marking as RTBC.
Comment #4
bircherComment #6
bircherDrupal CI, you are drunk..
Comment #7
tim.plunkettThis is neither major nor a bug, but it is a solid improvement.
Thanks, and +1 for RTBC
Comment #9
cilefen CreditAttribution: cilefen commentedCommitted d9b4e68 and pushed to 8.4.x. Thanks!
Comment #11
Chi CreditAttribution: Chi commentedIs it possible to commit this fix to 8.3.x as well? Using deriver that implements ContainerDeriverInterface leads to fatal error on Drupal 8.3.