Browse Source

set max age of doi form element to 0

9.x-1.0
Paul Pound 1 year ago
parent
commit
49015981ce
  1. 3
      src/Form/RoblibIllLoanForm.php

3
src/Form/RoblibIllLoanForm.php

@ -173,6 +173,9 @@ class RoblibIllLoanForm extends FormBase {
':input[name="Genre"]' => ['value' => 'book'], ':input[name="Genre"]' => ['value' => 'book'],
], ],
], ],
'#cache' => [
'max-age' => 0,
],
'#required' => FALSE, '#required' => FALSE,
]; ];
$form['doi_button'] = [ $form['doi_button'] = [

Loading…
Cancel
Save