- First commit to issue fork.
- Merge request !7182[#3387173] - Add hasMatchingContext method and test to ContextHandler β (Closed) created by danielveza
The unit test SectionRenderTest
originally tested the rendering of Sections, which was great.
But then the rendering of Sections was reduced to "loop through the array of components" and the actual logic moved to SectionComponent.
Now with
#2937799: Allow greater flexibility within SectionComponent::toRenderArray() β
the actual logic is moving to an event subscriber.
The test uses Reflection to ensure the event subscriber is called by the component which is called by the section.
Split SectionRenderTest into 3 separate test classes, each testing a single class: Section, SectionComponent, and the new event subscriber.
Wait for #2937799: Allow greater flexibility within SectionComponent::toRenderArray() β to go in.
N/A
N/A
N/A
Active
11.0 π₯
Last updated
Blocks and Layouts Initiative. See the #2811175 Add layouts to Drupal issue.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.