Namespace in library xml manifest #39342
sergeytolkachyov
started this conversation in
Ideas
Replies: 3 comments 4 replies
-
I found that is possible yet, but there is no documentation |
Beta Was this translation helpful? Give feedback.
0 replies
-
Do we still need in additional plugin for register library namespace like here described? https://docs.joomla.org/Using_own_library_in_your_extensions#Namespace_Loader I think no. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@dgrammatiko thanks, I found this. But if my library has name like Vendor/Library and file structure is Vendor/Library/src instead Library/src can I specify Vendor\Library ? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now, when creating our own field types for modules, plugins, we specify the
addfieldprefix
attribute, where the namespace for the field class is specified. Usually these fields are located together with the module or plugin itself. What if the field classes are supplied with the library? The namespace element is not supposed to be specified in the xml manifest of the library. Thus, it is not possible to use this namespace in theaddfieldprefix
attribute.Beta Was this translation helpful? Give feedback.
All reactions