Autoload files by patterns instead of listing each file
-
31-10-2019 - |
题
Drupal's "autoloading" requires one to include the files in files[] declarations in the .info file.
When there are a lot of files, this becomes:
- A large, huge, list.
- Hard to maintain.
Is there a way to e.g include with patterns. Say lib/*.php
?
没有正确的解决方案
不隶属于 drupal.stackexchange