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 API documentation for \Drupal\Core\Cache\ChainedFastBackendFactory is literally just:
Defines the chained fast cache backend factory.
This leaves many questions unanswered, but nowhere on that page is a link to ChainedFastBackend, which might answer them.
Proposed resolution
Add a @see
reference to the factory class, referencing the backend class.
Remaining tasks
* Submit a patch
* Get patch approval
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | improve_documentation-2844874-2.patch | 486 bytes | jp.stacey |
Comments
Comment #2
jp.stacey CreditAttribution: jp.stacey at Magnetic Phield commentedPatch attached for review and discussion.
Comment #4
LoMo CreditAttribution: LoMo as a volunteer commentedSeems like a pretty straightforward fix. The patch applies and does what it should. I've looked at the relationship and agree that we should have this @see reference to the ChainedFastBackend in the ChainedFastBackendFactory.php (if not more, but at least this is a good addition).
As this improvement is totally non-disruptive, it can (and really should) be "backported" to 8.3.x-dev, so I've reverted the automatically-added 8.4.x-dev version change.
Comment #7
catchCommitted/pushed to 8.4.x and cherry-picked to 8.3.x. Thanks!