protected function ProductVariationDeleteForm::getDeletionMessage in Commerce Core 8.2
Overrides ContentEntityDeleteForm::getDeletionMessage
File
- modules/
product/ src/ Form/ ProductVariationDeleteForm.php, line 27
Class
- ProductVariationDeleteForm
- Overrides messages to use "variation" instead of "product variation".
Namespace
Drupal\commerce_product\FormCode
protected function getDeletionMessage() {
$entity = $this
->getEntity();
return $this
->t('The %label variation has been deleted.', [
'%label' => $entity
->label(),
]);
}