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