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.
Including files for their class definition is so Drupal 7. Let's use the PSR-0 class autoloader.
Comment | File | Size | Author |
---|---|---|---|
#3 | 1661104-3.patch | 4.85 KB | amateescu |
psr0.patch | 10.31 KB | RobLoach | |
Comments
Comment #1
msonnabaum CreditAttribution: msonnabaum commentedI appreciate the work you've done here, but I don't really want to change much in this branch aside from bug fixes.
We need to start a new branch that brings in https://github.com/msonnabaum/xhproflib as a dependency via composer. I'd be very appreciative if you were into working on that :)
Comment #2
RobLoachOh! Much nicer than what's in the module!!! :-)
Comment #3
amateescu CreditAttribution: amateescu commentedSince the registry is now gone from D8, I think this is actually a bug for the current 8.x-1.x branch. Here's an updated patch :)
Comment #4
amateescu CreditAttribution: amateescu commentedCommitted to 8.x-1.x.
http://drupalcode.org/project/XHProf.git/commit/3d1df25