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.
Follow-up to #2754253: Lack of standard result in collaboration of analyzers
Problem/Motivation
Currently, we cannot exposes contexts other than specifically calling getAllContexts()
method on a DefaultAnalyzerResult
object.
Proposed resolution
Implement context definition interface so user and many other contexts can be exposed through it internally. The same system can be used to build a UI and future integration with Rules module.
Comments
Comment #2
mbovan CreditAttribution: mbovan as a volunteer and for Google Summer of Code commentedDuplicate of #2770553: Expose defaultAnalyzerResult properties as contexts.
Comment #3
mbovan CreditAttribution: mbovan as a volunteer and for Google Summer of Code commented