ProductAttributeDeleteForm.php in Commerce Core 8.2
Namespace
Drupal\commerce_product\FormFile
modules/product/src/Form/ProductAttributeDeleteForm.phpView source
<?php
namespace Drupal\commerce_product\Form;
use Drupal\Core\Entity\EntityDeleteForm;
/**
* Builds the form to delete a product attribute.
*/
class ProductAttributeDeleteForm extends EntityDeleteForm {
/**
* {@inheritdoc}
*/
public function getDescription() {
return $this
->t('Deleting a product attribute will delete all of its values. This action cannot be undone.');
}
}
Classes
Name![]() |
Description |
---|---|
ProductAttributeDeleteForm | Builds the form to delete a product attribute. |