You are here

public function FieldValidationRuleSetDeleteForm::getDescription in Field Validation 8

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides EntityConfirmFormBase::getDescription

File

src/Form/FieldValidationRuleSetDeleteForm.php, line 22

Class

FieldValidationRuleSetDeleteForm
Creates a form to delete FieldValidationRuleSet.

Namespace

Drupal\field_validation\Form

Code

public function getDescription() {
  return $this
    ->t('If this field validation rule set is in use on the site, this field validation rule set will be permanently deleted.');
}