Skip to content

Commit

Permalink
Add FormFactoryAwareInterface to ListModel
Browse files Browse the repository at this point in the history
Implement FormFactoryAwareInterface in ListModel to inject FormFactory
  • Loading branch information
heelc29 committed Jan 19, 2022
1 parent 0c96d42 commit 904b114
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/src/MVC/Model/ListModel.php
Expand Up @@ -14,6 +14,7 @@
use Joomla\CMS\Factory;
use Joomla\CMS\Filter\InputFilter;
use Joomla\CMS\Form\Form;
use Joomla\CMS\Form\FormFactoryAwareInterface;
use Joomla\CMS\Form\FormFactoryAwareTrait;
use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
use Joomla\CMS\Pagination\Pagination;
Expand All @@ -24,7 +25,7 @@
*
* @since 1.6
*/
class ListModel extends BaseDatabaseModel implements ListModelInterface
class ListModel extends BaseDatabaseModel implements FormFactoryAwareInterface, ListModelInterface
{
use FormBehaviorTrait;
use FormFactoryAwareTrait;
Expand Down

0 comments on commit 904b114

Please sign in to comment.