You are here

protected function PriceListItemDeleteForm::getDeletionMessage in Commerce Pricelist 8.2

Overrides ContentEntityDeleteForm::getDeletionMessage

File

src/Form/PriceListItemDeleteForm.php, line 21

Class

PriceListItemDeleteForm

Namespace

Drupal\commerce_pricelist\Form

Code

protected function getDeletionMessage() {
  $entity = $this
    ->getEntity();
  return $this
    ->t('The %label price has been deleted.', [
    '%label' => $entity
      ->label(),
  ]);
}