protected function ProductAttributesForm::attributesRemoved in Ubercart 8.4
Called when submission of this form caused attributes to be removed.
Overrides ObjectAttributesFormBase::attributesRemoved
File
- uc_attribute/
src/ Form/ ProductAttributesForm.php, line 29
Class
- ProductAttributesForm
- Defines the product attribute overview form.
Namespace
Drupal\uc_attribute\FormCode
protected function attributesRemoved() {
\Drupal::database()
->delete('uc_product_adjustments')
->condition('nid', $this->idValue)
->execute();
}