I have some extensions used by only one module, so I want to place ones in module directory. But in this case I have an exception:
Alias "modules.admin.extensions.trash.Trash" is invalid. Make sure it points to an existing directory or file.
The piece of code from the view file:
If to place the extesion to root path with other extensions all is working:
but portability of the module will be break