public function ProductAttributeDeleteForm::getDescription in Commerce Core 8.2
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides EntityConfirmFormBase::getDescription
File
- modules/
product/ src/ Form/ ProductAttributeDeleteForm.php, line 15
Class
- ProductAttributeDeleteForm
- Builds the form to delete a product attribute.
Namespace
Drupal\commerce_product\FormCode
public function getDescription() {
return $this
->t('Deleting a product attribute will delete all of its values. This action cannot be undone.');
}