public function ProductOptionsForm::submitForm in Ubercart 8.4
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides ObjectOptionsFormBase::submitForm
File
- uc_attribute/
src/ Form/ ProductOptionsForm.php, line 30
Class
- ProductOptionsForm
- Defines the product options overview form.
Namespace
Drupal\uc_attribute\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
// Clear the page and block caches.
Cache::invalidateTags([
'content',
]);
}