Skip to content

Commit 5e41ade

Browse files
committed
docs: Add phpdoc to ExportForm
1 parent 6e1131b commit 5e41ade

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Form/ExportForm.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,16 @@ public function __construct() {
1717
$this->DEFAULT_CONFIGS_PER_CHUNK = 40;
1818
}
1919

20+
/**
21+
* {@inheritdoc}
22+
*/
2023
public function getFormId() {
2124
return 'configuration_batch_export_form';
2225
}
2326

27+
/**
28+
* {@inheritdoc}
29+
*/
2430
public function buildForm(array $form, FormStateInterface $form_state, $username = NULL) {
2531
$form['configs_per_chunk'] = [
2632
'#type' => 'number',
@@ -38,6 +44,9 @@ public function buildForm(array $form, FormStateInterface $form_state, $username
3844
return $form;
3945
}
4046

47+
/**
48+
* {@inheritdoc}
49+
*/
4150
public function validateForm(array &$form, FormStateInterface $form_state) {
4251
$configs_per_chunk = $form_state->getValue('configs_per_chunk');
4352

@@ -46,6 +55,9 @@ public function validateForm(array &$form, FormStateInterface $form_state) {
4655
}
4756
}
4857

58+
/**
59+
* {@inheritdoc}
60+
*/
4961
public function submitForm(array &$form, FormStateInterface $form_state) {
5062
$this->batchService->batch_start($form_state->getValue('configs_per_chunk'));
5163
$form_state->setRedirect('configuration_batch_export.download_archive');

0 commit comments

Comments
 (0)