Michael Stenta
8ff9000b4c
Remove deprecated QuickFormInterface::getId() method.
2023-10-27 09:25:45 -04:00
Michael Stenta
de8a262685
Remove requiresEntity() method.
2023-10-06 14:11:11 -04:00
Michael Stenta
554afce229
Add a requiresEntity boolean to quick form plugins to optionally prevent creating default instances.
2023-10-06 14:11:10 -04:00
Michael Stenta
898d2355f0
Introduce new getQuickId() and setQuickId() methods. Deprecate getId().
2023-10-06 14:11:10 -04:00
Michael Stenta
cec5cc352a
Fix camelCase of quick form plugin getLabel() method.
2023-10-06 13:58:57 -04:00
Michael Stenta
05c7da18b4
Extend QuickFormInterface from FormInterface.
...
We already implement buildForm(), validateForm(), and submitForm().
The only method this adds is getFormId(). So we will also refactor
how getFormId() works in \Drupal\farm_quick\Form\QuickForm to get
it from plugin instances instead of generating it itself.
2023-10-06 13:58:57 -04:00
Paul Weidner
5ca5f1a3ab
Fix phpcs error that use statements should be sorted alphabetically
2023-06-13 09:53:49 -07:00
Michael Stenta
a36bf06b4a
Move QuickFormBase and QuickFormInterface to src/Plugin/QuickForm.
2021-10-27 15:22:34 -04:00