-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Change com_fields to services #21420
Conversation
* @license GNU General Public License version 2 or later; see LICENSE.txt | ||
*/ | ||
|
||
namespace Joomla\Component\Fields\Site\Dispatcher; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given this is documented as basically the public API to the component, should we move this to the libraries folder? https://docs.joomla.org/J3.x:Adding_custom_fields/Implement_into_your_component#Public_helper_classes_and_API
Genuinely not sure if it's a good or bad idea - but I guess if we're namespacing it nows the time to do it if we're going to....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It uses models from com_fields so I would not move stuff to libraries with a dependency to an extension (I know we did that in the past).
…ices/fields # Conflicts: # administrator/components/com_content/Model/ArticleModel.php
Sorry can you fix the conflicts here and I'll merge this |
Done |
Moves com_fields to the service based extension setup.
See #20217 for details.