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.
Drupal has a nice autoloader (aka. registry), let's take advantage of it.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1272998_maestro_autoloader-2.patch | 18.22 KB | Aron Novak |
#1 | 1272998_maestro_autoloader.patch | 18.23 KB | Aron Novak |
Comments
Comment #1
Aron NovakMakes the code a bit smaller & simplier.
Comment #2
Aron NovakA message contained a not defined variable.
Comment #3
_randy CreditAttribution: _randy commentedI'm not 100% sure on committing this yet as there are dependencies on the maestro engine version. By removing the explicit include statement for the engine means that we're unable to fire up the right engine version dynamically.
You can see this in the includes for the engine where {version} is used.