3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Specify the submit button name.

This makes it easier to identify in tests.
This commit is contained in:
paul121 2021-08-17 18:02:44 -07:00 committed by Michael Stenta
parent 23ebe88395
commit b19f3c6342

View file

@ -81,6 +81,7 @@ class FarmSettingsModulesForm extends FormBase {
$form['actions'] = ['#type' => 'actions'];
$form['actions']['submit'] = [
'#type' => 'submit',
'#name' => 'install-modules',
'#value' => $this->t('Install modules'),
];