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.
This is a side issue of #2467413: Refactor count API into FlagCountService with the intent of separating out some of the API changes for independant inspection.
From an interface perspective, formally FlaggingEvent::flag/event are now publicly readable. [ write access is unchanged.]
and the new methods are :-
FlaggingEvent::getEvent()
FlaggingEvent::getFlag()
[ In the other issue a newly created FlagCounterSubscriber is about to use these methods. ]
Comment | File | Size | Author |
---|---|---|---|
#2 | interdiff-1-2.txt | 408 bytes | martin107 |
#2 | read-2473349-2.patch | 656 bytes | martin107 |
#1 | read-2473349-1.patch | 673 bytes | martin107 |
Comments
Comment #1
martin107 CreditAttribution: martin107 commentedComment #2
martin107 CreditAttribution: martin107 commentedComplying with request 1 from https://www.drupal.org/node/2467413#comment-9837645
opps should have seen that earlier:)
Comment #3
joachim CreditAttribution: joachim commentedCool!
Nice simple patch -- committed!