Исходный текст | Переводы |
---|---|
Visit !config_link to manage performance settings for X Autoload. | |
As a site builder | |
The module will typically be downloaded and installed automatically as a dependency of something else. | |
As a module developer | |
Add xautoload as a dependency to modules that need it. | |
In !path: | |
If you want to publish your module as a contrib module, you might consider to depend on !psr4xa or !psr4ra instead, to give users a choice between xautoload and !registry_autoload, via the !alternatives module. | |
Create PSR-4 class files as you would in Drupal 8. | |
The class will be available immediately, no need to clear any caches. | |
In most cases if autoloading is not working, the class files were named incorrectly, or the namespace is wrong. |